Test the necesary validations to every end point of the worlflow resource
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 244 | 0 |
| Prerequest Scripts | 322 | 0 |
| Test Scripts | 562 | 0 |
| Assertions | 457 | 0 |
| Skipped Tests | 0 | - |
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e0d5032f-5af1-4712-94cd-1604907b52e2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:39:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f7081210-384f-44e8-930f-ac2b358363e6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:39:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 80f206e9-396b-4016-9c55-b12e57d217ac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A092DED88497AD59C8A3313F6394013C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI1OTc1Njc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjU5NzgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTIzNzh9.MC4WdNcYBFy9Pm4mpFghiV0iertFvzjUTxRTZ7bXziE; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:39:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694525979462,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694525979465,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a72614c7-20ec-4ccf-84b2-92469df81473 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI1OTc1Njc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjU5NzgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTIzNzh9.MC4WdNcYBFy9Pm4mpFghiV0iertFvzjUTxRTZ7bXziE |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=85709A71B03E93D20C6F7D8A4EEE7329; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:39:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694525985765,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"a04857e1-5703-4e77-a4e7-d6816929b11d","mandatory":false,"modDate":1694525985766,"name":"REST1","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Scheme already exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 97bf7854-8305-46e6-a005-a2fdff2ccae5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI1OTc1Njc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjU5NzgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTIzNzh9.MC4WdNcYBFy9Pm4mpFghiV0iertFvzjUTxRTZ7bXziE |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=923B385F3973C1B37EFC8868DB965155; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:39:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 31f5ed27-2b1a-41c2-8a7b-8f911caaf5e3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A7DFB9C65D0BC21778390A80A0AB0995; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI1OTkzNTU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjU5OTYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTIzOTZ9.j4cU0YyZ4SifkvGWmgAvXTn5SzJHxuqBVy_dxliA1_c; Path=/; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:39:56 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveScheme(WorkflowResource.java:3100)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6cf69f1e-9f16-4d41-938e-8504db3f72b1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI1OTkzNTU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjU5OTYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTIzOTZ9.j4cU0YyZ4SifkvGWmgAvXTn5SzJHxuqBVy_dxliA1_c |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=033F22BAE91F1C7136086B17EBCDFE96; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:40:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 531dfd78-0563-4b7b-9440-6ba18cb2ff20 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 170 |
{ "schemeId" : "d61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:40:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b3e0ad5c-ea3d-4268-87fd-eb8b12c0a9cd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
{ "schemeId" : "519b4dfc-7878-482a-b6f3-5ed9c12877c0", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=226A851D9519214FB4BB84531ACD2468; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDAxNTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMDQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0MDR9.fp5MIYUqunNDfDvrPHDcwEUsbB9W85UjumhgQ4RQeQQ; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526004566,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 45533909-3f8b-4e25-8800-274c82859fda |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 171 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDAxNTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMDQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0MDR9.fp5MIYUqunNDfDvrPHDcwEUsbB9W85UjumhgQ4RQeQQ |
{ "schemeId" : "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F01D6F4CB92A410ED85FFCC6AD0BCE80; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.addStep(WorkflowHelper.java:1038)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1367)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 57fc266d-3b8c-475f-8486-ec118d917393 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 158 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDAxNTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMDQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0MDR9.fp5MIYUqunNDfDvrPHDcwEUsbB9W85UjumhgQ4RQeQQ |
{ "schemeId" : "519b4dfc78", "stepName":"Step shorty schema id", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=9A4E1351C4E1EFA0C38D78365E6898BC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526013932,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"5202a5e5-d33e-4f6a-a808-07bfb4f00897","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f30ffd87-02a5-4abf-8ea4-77c254768559 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDAxNTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMDQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0MDR9.fp5MIYUqunNDfDvrPHDcwEUsbB9W85UjumhgQ4RQeQQ |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B1706B9D2E49143739ABE3F5C322568B; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:20 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1363)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ed78f81e-994a-4822-a9ad-1d51f8fff503 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDAxNTQ1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMDQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0MDR9.fp5MIYUqunNDfDvrPHDcwEUsbB9W85UjumhgQ4RQeQQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=787A52D844994C6626B6A895E0F17CC8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:40:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e0fc5ef2-63bd-449d-bd2a-f54e50ea6e2f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:40:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1646b136-cb8d-44b0-8cef-71bb68c02d89 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "d9af49cf-1e9a-4328-be90-0560794b08f9",
"actionName": "saveContent FROM REST NEW",
"schemeId": "519b4dfc-7878-482a-b6f3-5ed9c12877c0",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=78C68CD4B78CCF6BA726F52E130CB1C7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDI0Nzg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMjcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Mjd9.K_uCNhn6Br3soe4MFw1N9hcvxc1mMEVoGmeznHZrdLE; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 01bc6894-2882-410e-93ec-d6cd65f6a9fd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 534 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDI0Nzg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMjcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Mjd9.K_uCNhn6Br3soe4MFw1N9hcvxc1mMEVoGmeznHZrdLE |
{
"stepId": "aaee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=707A059154B700E76741850E4FA3286F; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1994)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1591)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 525bc10e-b095-44d5-b6d4-f52e2df0acbe |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 533 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDI0Nzg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMjcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Mjd9.K_uCNhn6Br3soe4MFw1N9hcvxc1mMEVoGmeznHZrdLE |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=FE93FD468840536EFC1AAA19A0F66264; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1870)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1582)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a83c03bf-2e07-4733-b8c1-798e8f619fbf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 480 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDI0Nzg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMjcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Mjd9.K_uCNhn6Br3soe4MFw1N9hcvxc1mMEVoGmeznHZrdLE |
{
"stepId": "d9af49cf1e",
"actionName": "saveContent FROM REST NEW",
"schemeId": "519b4dfc78",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=2AA5F3EF15FA6769AB3756036A8124BA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 02efa161-7042-4092-be57-bf82654d3b8b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDI0Nzg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMjcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Mjd9.K_uCNhn6Br3soe4MFw1N9hcvxc1mMEVoGmeznHZrdLE |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=0E63B56A66A094AD7259831D1629D0CC; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:40:52 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1030)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1086956e-a320-4a9e-9624-b8a690cd055a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDI0Nzg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwMjcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Mjd9.K_uCNhn6Br3soe4MFw1N9hcvxc1mMEVoGmeznHZrdLE |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=7896AFDCEEEDBC49E11DCEB9E0D69441; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:40:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e3c6564e-2bc6-45de-b4d4-18e247f6f9b8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:40:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 28db1c52-beb5-49c1-8034-47ba40a6ecd4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=354B29CF7A2A963534AEE66474E29202; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDU3MjU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwNjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0NjB9._6n8RdUrxnDGfaEKXXwaw2HApLTobP8e4Hw95IOaJIo; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"archived":false,"creationDate":1694526060285,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"a04857e1-5703-4e77-a4e7-d6816929b11d","mandatory":false,"modDate":1694525985766,"name":"REST1","system":false},{"archived":false,"creationDate":1694526060285,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526043385,"name":"REST Schema","system":false},{"archived":false,"creationDate":1694526060285,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes exiting Scheme | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9b75e860-4c96-4423-8862-299d920798b0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDU3MjU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwNjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0NjB9._6n8RdUrxnDGfaEKXXwaw2HApLTobP8e4Hw95IOaJIo |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B53556AB8D0F5714A6F2D63B31E01CCA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:41:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fee4d870-dedd-47e2-b809-f0106dfd9150 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:41:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e99ba389-bf66-4ae0-80b5-3d9cccc25580 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F5608145B42B750FF9131C63B61EE8A7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDY0OTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwNjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Njh9.Btw31aySn0t4Hk9_sw-653ut3SCBWNlHpb9wnlLmE7Q; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:08 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1694526068035,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1694526068019,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"a04857e1-5703-4e77-a4e7-d6816929b11d","mandatory":false,"modDate":1694525985766,"name":"REST1","system":false},{"archived":false,"creationDate":1694526068019,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526043385,"name":"REST Schema","system":false},{"archived":false,"creationDate":1694526068019,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Content types permissions | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cd69941f-6d90-40b8-9b95-d2b3782cd724 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDY0OTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwNjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Njh9.Btw31aySn0t4Hk9_sw-653ut3SCBWNlHpb9wnlLmE7Q |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A6C37C4929B392D27CDAA34101CD4FB0; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSchemesByContentType(WorkflowHelper.java:1249)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAllSchemesAndSchemesByContentType(WorkflowResource.java:372)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Content types not found | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 14a3c3b1-b1ac-42e0-9395-47204018b8ca |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDY0OTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwNjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Njh9.Btw31aySn0t4Hk9_sw-653ut3SCBWNlHpb9wnlLmE7Q |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=26EDE09EF2FCC5146A1BEE9F9FFCD4E7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1694526068035,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1694526074265,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"a04857e1-5703-4e77-a4e7-d6816929b11d","mandatory":false,"modDate":1694525985766,"name":"REST1","system":false},{"archived":false,"creationDate":1694526074265,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526043385,"name":"REST Schema","system":false},{"archived":false,"creationDate":1694526074265,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes system workflow | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4c13f0f7-5f54-4231-87e4-201ea3a09aae |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDY0OTkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwNjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0Njh9.Btw31aySn0t4Hk9_sw-653ut3SCBWNlHpb9wnlLmE7Q |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=ED16019B70BE9079048E78210B2FF752; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:41:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 68de1ea1-9db5-4ca9-a913-e9978f7dc4de |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:41:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 760fd481-2123-41d1-abee-9211c2a8fa1b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=57FE21BA2129DF0265EB5CE9D7B80C35; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDc4OTMwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwODEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0ODF9.Ze7dbcXqwkTJAgJWIh-m0kZr1piFArwM3TMmWY1Sg9E; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1694526081963,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},{"creationDate":1694526081966,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"5202a5e5-d33e-4f6a-a808-07bfb4f00897","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes existing step | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3d6a0d39-f8b3-436e-82a5-87eb0ad91986 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDc4OTMwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwODEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0ODF9.Ze7dbcXqwkTJAgJWIh-m0kZr1piFArwM3TMmWY1Sg9E |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D983D497D3446F5AB34C1D824DB14D29; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSteps(WorkflowHelper.java:1355)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepsByScheme(WorkflowResource.java:407)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid Response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5aec5773-fc86-4882-97ff-7b9f3a290c64 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDc4OTMwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwODEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0ODF9.Ze7dbcXqwkTJAgJWIh-m0kZr1piFArwM3TMmWY1Sg9E |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A25A325158036DA5B038C27EAD54C233; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1694526088137,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"6cb7e3bd-1710-4eed-8838-d3db60f78f19","myOrder":0,"name":"New","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1694526088139,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","myOrder":1,"name":"Draft","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1694526088145,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","myOrder":2,"name":"Published","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1694526088146,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","myOrder":3,"name":"Archived","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes `New` step | 1 | 0 | 0 |
| Includes Draft step | 1 | 0 | 0 |
| Includes Published step | 1 | 0 | 0 |
| Includes Archived step | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9ea98dec-31c5-47f9-929f-7b7bd34b75fd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDc4OTMwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwODEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0ODF9.Ze7dbcXqwkTJAgJWIh-m0kZr1piFArwM3TMmWY1Sg9E |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=BE0090FCDB60FAD1F87260F22AE602A4; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:41:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6a1d0b41-4cd8-4d63-81fa-daa839663421 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:41:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 58b9f790-2cf6-409e-a45d-b2a36e7fab51 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=FD75BBA857B473337098FA752F41532D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDkyNzUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwOTUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0OTV9.e77m_ancfuPJVN815lCFmaMW6etr8WVRQcMLu0RGOmw; Path=/; HttpOnly; SameSite=Lax |
| error-key | Contentlet identified by inode '123' was Not found. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Contentlet identified by inode '123' was Not found.","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Contentlet identified by inode '123' was Not found.\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableActions(WorkflowHelper.java:804)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableActions(WorkflowResource.java:444)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Valid response | 1 | 0 | 0 |
| Status code is 404 | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 872b6671-e358-4d02-a2f0-3f2ea8951384 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 143 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDkyNzUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwOTUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0OTV9.e77m_ancfuPJVN815lCFmaMW6etr8WVRQcMLu0RGOmw |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postmanXXY",
"value": "postmanXXY"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=21A5BA66C31AF9F9AEA51255D2411E15; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"b5c7f608ce7353e4100b5f60d74fd8d6","inode":"ce99f588-409a-4d72-8029-8dd540423afb","key":"postmanXXY","languageId":1,"live":true,"locked":false,"modDate":1694526099441,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526099441,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"postmanXXY","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ce99f588-409a-4d72-8029-8dd540423afb","value":"postmanXXY","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bcf0b2b7-f332-4aa8-a3de-792dd0b14fc5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDkyNzUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwOTUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0OTV9.e77m_ancfuPJVN815lCFmaMW6etr8WVRQcMLu0RGOmw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6EDF1FD2EA19515E48D1D1200630259D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","NEW","LISTING","UNPUBLISHED","LOCKED","PUBLISHED"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","LISTING","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 72784f4a-f06f-4e3a-9a0c-81c1982ea644 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDkyNzUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwOTUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0OTV9.e77m_ancfuPJVN815lCFmaMW6etr8WVRQcMLu0RGOmw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=4DA920BB7652961CBC6410E3404BCC0A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:41:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","NEW","LISTING","UNPUBLISHED","LOCKED","PUBLISHED"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","LISTING","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4133c7b3-6765-4ea2-a009-654718e22563 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MDkyNzUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYwOTUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI0OTV9.e77m_ancfuPJVN815lCFmaMW6etr8WVRQcMLu0RGOmw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=2FA28360FE02CD122F2F708B880A96CB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:41:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 967ad87a-f68d-49ec-81f1-3f5d43f7d965 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:41:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dddc98d9-570f-4740-bad1-487a95e83dce |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=57C6C9C20BB9AE5B192DFFE23CB32216; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTE3MzMwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MjB9.4x1tVHQM_DLw0j24UwJCJe3b2SgYvJXmJ4-uyhMBeWM; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=b9d89c803) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=b9d89c803)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=b9d89c803)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:833)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAction(WorkflowResource.java:660)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 90c1904c-abf2-4fbb-a0ea-1e43ffa72aa1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTE3MzMwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MjB9.4x1tVHQM_DLw0j24UwJCJe3b2SgYvJXmJ4-uyhMBeWM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A9781BFB4BC3791F67ED1F4517340375; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes Action Id | 1 | 0 | 0 |
| Includes Action name | 1 | 0 | 0 |
| Includes Scheme Id | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7c449b4f-a90a-4750-9a9d-facbe70f7da5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTE3MzMwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MjB9.4x1tVHQM_DLw0j24UwJCJe3b2SgYvJXmJ4-uyhMBeWM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A24B0F586145A1F2515FEF8F85E70468; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 123b9cb9-5f1a-400c-b574-aa7b3222f039 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTE3MzMwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MjB9.4x1tVHQM_DLw0j24UwJCJe3b2SgYvJXmJ4-uyhMBeWM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F5A52AD053A843E8CDDD758F02241D90; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:42:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ed76cd69-775c-4f11-ba8a-2f7fe4e8f514 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:42:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5243b8fb-29dc-4eb7-9568-fc6c99ef7809 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=307FD5C1CD843F5457370753B1B07145; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTMxMjM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMzQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MzR9.rzbpoQEwhJAqmlMGtzqu87jvl_pNYamdgRXsggc250M; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=fffa7500-46f9-45df-a5a8-1d6e24bb5907 and stepId=123) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=fffa7500-46f9-45df-a5a8-1d6e24bb5907 and stepId=123)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=fffa7500-46f9-45df-a5a8-1d6e24bb5907 and stepId=123)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff8bf047-d78c-4876-833b-9a89825844c6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTMxMjM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMzQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MzR9.rzbpoQEwhJAqmlMGtzqu87jvl_pNYamdgRXsggc250M |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=0FE79DAC5EF15869F1043A498E30A970; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=123 and stepId=d9af49cf-1e9a-4328-be90-0560794b08f9) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=123 and stepId=d9af49cf-1e9a-4328-be90-0560794b08f9)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=123 and stepId=d9af49cf-1e9a-4328-be90-0560794b08f9)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2298a009-b50c-46fa-9d9e-b2cb5baab64e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTMxMjM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMzQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MzR9.rzbpoQEwhJAqmlMGtzqu87jvl_pNYamdgRXsggc250M |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=4B045077A35FF3196C6B6C9CA0ED0957; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b1cc76de-aa46-45d3-9de7-589ca443c109 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTMxMjM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMzQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MzR9.rzbpoQEwhJAqmlMGtzqu87jvl_pNYamdgRXsggc250M |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=5B9DFF572A574C2348261DB715C4D256; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cabb8cc9-5dd0-4893-b5fe-5d40567bbdd2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTMxMjM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxMzQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1MzR9.rzbpoQEwhJAqmlMGtzqu87jvl_pNYamdgRXsggc250M |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=85A7B36ADD9803EE032274C46C7CED23; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:42:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c55e80c7-2d59-4f2d-8563-fec77a9e5199 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:42:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 697dad81-4a4c-4a28-964c-6d9333a1a2e8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=87D26E72156009CCA19084EC9285D7D2; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTQ4MjQ5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1NTF9.eiS_H3HYXfPhSIxqOl1GrU6xQ0LJBXgab_u6PzVf7-Y; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActions(WorkflowHelper.java:1319)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByStep(WorkflowResource.java:756)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bc75059b-4a4c-4578-bf4a-f8d92e40ba26 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTQ4MjQ5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1NTF9.eiS_H3HYXfPhSIxqOl1GrU6xQ0LJBXgab_u6PzVf7-Y |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B5D482D665A957CB8E5DA15222A1E818; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b635d168-395c-4cf6-b8af-d44702c341d5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTQ4MjQ5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1NTF9.eiS_H3HYXfPhSIxqOl1GrU6xQ0LJBXgab_u6PzVf7-Y |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=DAE4CF448FBE81D43D66E86F82B0E519; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5acf03b5-cc0b-47ac-89a4-1f9f25c28c25 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTQ4MjQ5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1NTF9.eiS_H3HYXfPhSIxqOl1GrU6xQ0LJBXgab_u6PzVf7-Y |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D5C0E7D37E51195A0679EF28517A304E; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:42:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 050dac7a-530b-4364-ba70-19c3155d1da7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:42:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bcff60b2-6186-4be4-bbc6-c78cf7403708 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=E85D212EBC4C910C349C1A32797F6CCE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTYyMDc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNjUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1NjV9.28Y8OJFEyeF_peal2EETI7y73MWxj9LkY4GAl5CxoYc; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActionsByScheme(WorkflowHelper.java:1448)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByScheme(WorkflowResource.java:785)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The scheme does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eee927a7-ce68-4c6a-8a1f-9c4ccc94081f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTYyMDc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNjUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1NjV9.28Y8OJFEyeF_peal2EETI7y73MWxj9LkY4GAl5CxoYc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=64C81968A485B560EFC59BFE5FBFE395; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 55d847d5-0c1a-44ec-a6ac-420c2fab74f4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTYyMDc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNjUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1NjV9.28Y8OJFEyeF_peal2EETI7y73MWxj9LkY4GAl5CxoYc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B689E97FEB47460120FF814DE82801F6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c2d87e7f-e1ff-4cc5-b941-95c0bf3b939c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTYyMDc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNjUsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1NjV9.28Y8OJFEyeF_peal2EETI7y73MWxj9LkY4GAl5CxoYc |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=55E14AB367F364D85E7897F839A8D29D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:42:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 997318e4-74cb-403e-9922-0ae97587446f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:42:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 88e8bda0-cf7f-46cf-b014-9e857f2b43b7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D9CFC50A5E51B954E2EB717310295EEB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTc1ODk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNzgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1Nzh9.lj-evLdnRnY2RLq31wp04UAIpZhOoVRmVighgPg7AY4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:42:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526027854,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4861f358-2442-40d7-821e-aeafad1af36f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTc1ODk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNzgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1Nzh9.lj-evLdnRnY2RLq31wp04UAIpZhOoVRmVighgPg7AY4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=DB11C5377A9BA5E039684A4FA28B8EDD; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findStepById(WorkflowHelper.java:1064)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepById(WorkflowResource.java:1395)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d5817cd3-c6f8-4ba6-8c6a-010584786463 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTc1ODk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNzgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1Nzh9.lj-evLdnRnY2RLq31wp04UAIpZhOoVRmVighgPg7AY4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=016D384775316C795428D0FB03052A1B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526027854,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2eb01730-d774-432e-9ebe-0759f2de390c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTc1ODk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxNzgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1Nzh9.lj-evLdnRnY2RLq31wp04UAIpZhOoVRmVighgPg7AY4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6FFF5EF8FD3073D8EB9EFFAF2658F7DB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:43:08 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a0ee8ec1-96b1-4b71-891d-490cabcfcc05 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:43:08 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5ce21138-f417-449d-842d-93fd31a2d1a1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=863B821388457B21B2B4E7570D40320B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTg5NjY2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxOTIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1OTJ9.jxg-NIvRniuYm_W9JM9RQ-a5jqmdqqWcUVJi3K_j-CU; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694526099106,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","NEW","LISTING","UNPUBLISHED","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694526099106,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","LISTING","LOCKED","ARCHIVED"]},"scheme":{"archived":false,"creationDate":1694526099106,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bfd48216-fedc-413a-abdb-040106b39f6b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTg5NjY2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxOTIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1OTJ9.jxg-NIvRniuYm_W9JM9RQ-a5jqmdqqWcUVJi3K_j-CU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=209B2E9F6742C348CEC1F0AA7BB60352; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsByContentType(WorkflowHelper.java:1793)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsByContentType(WorkflowResource.java:3002)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b217cea3-6e92-4eaf-a0b5-aaa840d93d95 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MTg5NjY2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYxOTIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI1OTJ9.jxg-NIvRniuYm_W9JM9RQ-a5jqmdqqWcUVJi3K_j-CU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B39D7756B54DE93DA3650E59926E5131; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:43:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cb6fb5ea-bca1-41ef-a0f6-54a3d6d6cb20 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:43:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b6fa3a99-cb5a-4bc7-8ba9-cb4235d5ee85 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B8DAF585FA8BD53CA20BCE698687C16C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjAwNDgwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMDMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2MDN9.egRIxxsEsFEBC2dRsqtKnWCM10mkBY8UcHpJEA5dQkA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694526081962,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526043385,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694526081962,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526043385,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f7c8ed60-c54f-400f-82b0-1e9d63a1b7d1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjAwNDgwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMDMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2MDN9.egRIxxsEsFEBC2dRsqtKnWCM10mkBY8UcHpJEA5dQkA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=02A7DDCB6C3698F4CF22474287DEF0EF; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsBySchemes(WorkflowHelper.java:1835)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsBySchemes(WorkflowResource.java:3037)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 441aaef7-68e6-4a2b-bf76-ac66f85d35f0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjAwNDgwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMDMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2MDN9.egRIxxsEsFEBC2dRsqtKnWCM10mkBY8UcHpJEA5dQkA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=423F85C87B7980C8DAF59B935BC0EF16; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694526081962,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526043385,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694526081962,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526043385,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f0c6ccd0-fcee-440e-a0d5-8641df8359f7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjAwNDgwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMDMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2MDN9.egRIxxsEsFEBC2dRsqtKnWCM10mkBY8UcHpJEA5dQkA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A09996E76B8CF69AC314902EBA2D1516; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:43:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8a4b7a9e-3f89-40bb-b0a3-ac59b472cc9a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:43:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e3d8ba32-d1bc-494d-a56e-ad6055ba9948 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=C29FC6B6C0D27BE48E76F9AF37C9364E; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjE0MjQ2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMTcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2MTd9.jR8mTk7pN1xc36oIoLOtwBqSjxkPsNV6H4Sscjw9bIs; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694526099106,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","NEW","LISTING","UNPUBLISHED","LOCKED","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1694526099106,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","LISTING","LOCKED","ARCHIVED"]},"scheme":{"archived":false,"creationDate":1694526099106,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694525941327,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e8e6c149-be2f-4120-bbff-95970efc7394 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjE0MjQ2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMTcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2MTd9.jR8mTk7pN1xc36oIoLOtwBqSjxkPsNV6H4Sscjw9bIs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=247BA71DF3809D78AC1B9C5BD0C4829D; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findInitialAvailableActionsByContentType(WorkflowHelper.java:1880)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findInitialAvailableActionsByContentType(WorkflowResource.java:3071)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1a8b07bb-a4e1-4601-8106-d371f965fa50 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjE0MjQ2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMTcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2MTd9.jR8mTk7pN1xc36oIoLOtwBqSjxkPsNV6H4Sscjw9bIs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=FCF618CBC0CA043F0FBE323B62D44C98; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:43:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fda0967a-b2ff-44e7-a1e5-d8e036d3bd84 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:43:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8d59c5d7-56ce-4b26-ab4c-2ded8dca4bc8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=45CB9BA739B2F3FC44836989630844ED; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjI1MDYwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Mjh9.6DNuO7e-v73x2a3sEKL2z0MfEd0OFlQq80KxsUbdGTU; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"Republish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0a987beb-44ce-4acc-8501-510c1463df97 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 522 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjI1MDYwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Mjh9.6DNuO7e-v73x2a3sEKL2z0MfEd0OFlQq80KxsUbdGTU |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish-test2",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=17AA78660CF55592BAE2ABDB1F227F90; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:43:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateAction(WorkflowHelper.java:1478)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1066)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Action does not exist | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4efe4b4f-6849-4b01-bc90-43f7a4ca8041 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 469 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjI1MDYwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Mjh9.6DNuO7e-v73x2a3sEKL2z0MfEd0OFlQq80KxsUbdGTU |
{
"actionName": "Republish-123fa",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=1AC97FA017C71B2304CE6BA643E4D3BE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:44:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","name":"Republish-123fa","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7369434e-f336-4719-a874-f6574875e760 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjI1MDYwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Mjh9.6DNuO7e-v73x2a3sEKL2z0MfEd0OFlQq80KxsUbdGTU |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F2356A1651CD4C6935C8551EE9E5BB7B; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:44:03 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1064)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c75bb155-ddea-4bf3-aa47-dd5c6ae49874 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjI1MDYwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyMjgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Mjh9.6DNuO7e-v73x2a3sEKL2z0MfEd0OFlQq80KxsUbdGTU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6A2F1CFF2DB244FACCFDB0F19DE1C860; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:44:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8f728b64-a338-4546-a957-5ac341f6f9ca |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:44:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3055305a-d362-4c26-b8f4-92864bc96451 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "fffa7500-46f9-45df-a5a8-1d6e24bb5907" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6F4E16B09AE1B45C6B4345F2C8AE2172; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjQ4MDgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2NTF9.omTb3SPfcqMQA9AD2B56QvLKscQNTOobL9_zLmOJJ3w; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:44:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e7c063c7-6790-41b7-8df0-a895e8bf3fdd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjQ4MDgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2NTF9.omTb3SPfcqMQA9AD2B56QvLKscQNTOobL9_zLmOJJ3w |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=DBE8A9872A19333A832A47BD16B7504A; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:44:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 420f2050-eafd-47af-86ac-3f494a82ff52 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjQ4MDgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2NTF9.omTb3SPfcqMQA9AD2B56QvLKscQNTOobL9_zLmOJJ3w |
{ "actionId": "a777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6E48674EF3AB8D0F239CFDEFAD70C949; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:44:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1944)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 86680655-658a-40be-844d-34b9e1da594a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 28 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjQ4MDgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2NTF9.omTb3SPfcqMQA9AD2B56QvLKscQNTOobL9_zLmOJJ3w |
{ "actionId": "fffa750046" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F6F1B703AF45059661548A5A219F1DBB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:44:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63c735ed-e3bf-4f72-b25a-d3d463902d79 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjQ4MDgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2NTF9.omTb3SPfcqMQA9AD2B56QvLKscQNTOobL9_zLmOJJ3w |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=E64F260B37EB8640E7B83470C4A81859; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:44:29 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1096)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1540818e-bbaf-4771-8842-9bd6f882a32d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MjQ4MDgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNTEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2NTF9.omTb3SPfcqMQA9AD2B56QvLKscQNTOobL9_zLmOJJ3w |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=7CA0361B202821A9064693187C806C4F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:44:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't import schemes without credentials
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7d119523-9ccc-4e6f-9826-1b07160de19f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4552 |
{
"workflowObject": {
"schemes": [
{
"creationDate": 1523640559394,
"name": "Test1",
"description": "",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1523640423771,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"creationDate": 1523643857447,
"name": "Step1",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"creationDate": 1523643857447,
"name": "step2",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save it",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"LOCKED",
"NEW",
"UNLOCKED"
]
},
{
"id": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"name": "TEst",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"LOCKED",
"UNLOCKED"
]
}
],
"actionSteps": [
{
"stepId": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"actionOrder": "0"
},
{
"stepId": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"actionId": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "2298b780-e1d3-4916-b981-e22fd5553086",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"nextStep": null,
"howTo": "This actionlet will checkin the content.",
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:44:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid Credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | de38635d-35f3-4dff-ad5f-6225af6c53d2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=9A4828F69948F1F617F03B4D3D0CC9B0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mjc0MTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNzcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Nzd9.wBRkSkCtAWEqRlyg_c4bCh97cyD1FmygzGW6oYLpaHA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:44:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bdb268aa-15ef-45fd-abfc-cae05f6d8f82 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mjc0MTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNzcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Nzd9.wBRkSkCtAWEqRlyg_c4bCh97cyD1FmygzGW6oYLpaHA |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=1378330B25A5E3BF307EF79F356EF11A; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:44:43 GMT |
| Connection | close |
{"message":"Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.","stacktrace":{"buffer":"com.dotmarketing.exception.AlreadyExistException: Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.\n\tat com.dotcms.workflow.helper.WorkflowHelper.checkIfSchemeExists(WorkflowHelper.java:772)\n\tat com.dotcms.workflow.helper.WorkflowHelper.importScheme(WorkflowHelper.java:602)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2875)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Already existing id | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as limited user if you have permissions to the workflow portlet
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d67b9d53-7270-4f7a-8a0a-f0278f01b4ca |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mjc0MTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNzcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Nzd9.wBRkSkCtAWEqRlyg_c4bCh97cyD1FmygzGW6oYLpaHA |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=417CFF4D8796DEF7654694D7FA4FE666; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:44:46 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2861)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:158)\n\tat java.base/sun.nio.ch.Invoker.invoke(Invoker.java:186)\n\tat java.base/sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.onEvent(UnixAsynchronousServerSocketChannelImpl.java:193)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fece34f3-3b55-4726-945b-f629756bdb7c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4671 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mjc0MTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNzcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Nzd9.wBRkSkCtAWEqRlyg_c4bCh97cyD1FmygzGW6oYLpaHA |
{
"workflowObject": {
"actionClassParams": [
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "2163cb23-8b9a-406a-b2fa-7beecd5c63b0",
"key": "emailSubject",
"value": "subject"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "f98771e9-ca5c-438a-a23b-85594b92af45",
"key": "emailBody",
"value": "msg"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "d831815e-f9c4-4338-956f-2e8b9e0e371b",
"key": "isHtml",
"value": "true"
}
],
"actionClasses": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionlet": {
"actionClass": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"howTo": "This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo",
"localizedName": "Notify Assignee",
"name": "Notify Assignee",
"nextStep": null,
"parameters": [
{
"defaultValue": "",
"displayName": "Email Subject",
"key": "emailSubject",
"required": false
},
{
"defaultValue": null,
"displayName": "Email Message",
"key": "emailBody",
"required": false
},
{
"defaultValue": "true",
"displayName": "Is Html?",
"key": "isHtml",
"required": false
}
]
},
"clazz": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"id": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"name": "Notify Assignee",
"order": 0
}
],
"actionSteps": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionOrder": "0",
"stepId": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec"
}
],
"actions": [
{
"assignable": false,
"commentable": false,
"condition": "",
"icon": "workflowIcon",
"id": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"name": "test",
"nextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"nextStep": "currentstep",
"nextStepCurrentStep": true,
"order": 0,
"owner": null,
"roleHierarchyForAssign": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981",
"showOn": []
}
],
"schemeSystemActionWorkflowActionMappings": [],
"schemes": [
{
"archived": false,
"creationDate": 1623256714100,
"defaultScheme": false,
"description": "",
"entryActionId": null,
"id": "8760ea91-9912-456c-b719-7c63e81fa981",
"mandatory": false,
"modDate": 1623203259556,
"name": "Test",
"system": false
}
],
"steps": [
{
"creationDate": 1623256717104,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0,
"id": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec",
"myOrder": 0,
"name": "step1",
"resolved": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981"
}
],
"version": "1.0"
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=3B909E125A0EE22E5E7913E4BC3F1DC6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:44:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5775c7f8-9150-45c4-8fe0-060b9ea468e7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 34 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mjc0MTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNzcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Nzd9.wBRkSkCtAWEqRlyg_c4bCh97cyD1FmygzGW6oYLpaHA |
{
"name": "Copy Workflow"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=347EF273267514D368E1CE8C05DACB06; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:44:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694526295741,"defaultScheme":false,"description":"","entryActionId":null,"id":"6d104f95-6661-435b-a29c-6de73ea19869","mandatory":false,"modDate":1694526295742,"name":"Copy Workflow","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7b03456f-528c-4a43-86b9-09f514d2b07f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mjc0MTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYyNzcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI2Nzd9.wBRkSkCtAWEqRlyg_c4bCh97cyD1FmygzGW6oYLpaHA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D893D59753655A7578802C790FABF953; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:45:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't export without credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | be2b4f0f-19b7-485f-a819-961091ba632f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:45:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid credentials | 1 | 0 | 0 |
| Correct response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 02993d6d-fd32-485f-8f21-1cf88859a610 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=60C789B45F6C59270B190C9FBC59A4FD; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzAzMjk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzMDYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3MDZ9.38FA2nKYL-Kp2hG8VHm3GEpbslxSsyGjXvYspQGWM-M; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:45:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"c813ccb1-3396-47f2-817b-b7e85279aab9","id":null,"key":"emailSubject","value":null},{"actionClassId":"c813ccb1-3396-47f2-817b-b7e85279aab9","id":null,"key":"emailBody","value":null},{"actionClassId":"c813ccb1-3396-47f2-817b-b7e85279aab9","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"c813ccb1-3396-47f2-817b-b7e85279aab9","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","actionOrder":"0","stepId":"d9af49cf-1e9a-4328-be90-0560794b08f9"},{"actionId":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","actionOrder":"1","stepId":"d9af49cf-1e9a-4328-be90-0560794b08f9"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1694526306330,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526263438,"name":"REST Schema","system":false}],"steps":[{"creationDate":1694526306337,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},{"creationDate":1694526306339,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"5202a5e5-d33e-4f6a-a808-07bfb4f00897","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f3e4fa55-1255-4825-8ec2-d3eb1138a802 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzAzMjk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzMDYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3MDZ9.38FA2nKYL-Kp2hG8VHm3GEpbslxSsyGjXvYspQGWM-M |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=9C0900DD820B1B4922760EC3ACC7FF2C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:45:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"c813ccb1-3396-47f2-817b-b7e85279aab9","id":null,"key":"emailSubject","value":null},{"actionClassId":"c813ccb1-3396-47f2-817b-b7e85279aab9","id":null,"key":"emailBody","value":null},{"actionClassId":"c813ccb1-3396-47f2-817b-b7e85279aab9","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"c813ccb1-3396-47f2-817b-b7e85279aab9","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"fffa7500-46f9-45df-a5a8-1d6e24bb5907","actionOrder":"0","stepId":"d9af49cf-1e9a-4328-be90-0560794b08f9"},{"actionId":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","actionOrder":"1","stepId":"d9af49cf-1e9a-4328-be90-0560794b08f9"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8dbd15f2-abbe-4e9a-a922-e3e88827e993","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1694526306330,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526263438,"name":"REST Schema","system":false}],"steps":[{"creationDate":1694526309464,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},{"creationDate":1694526309465,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"5202a5e5-d33e-4f6a-a808-07bfb4f00897","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 298791dc-7b2f-425e-a8c2-29d4516b104e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzAzMjk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzMDYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3MDZ9.38FA2nKYL-Kp2hG8VHm3GEpbslxSsyGjXvYspQGWM-M |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=3288872CB5DCF9F44A387B128D8399DE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:45:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63fdc2c8-1a65-478e-bfa3-4305c9dbf420 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:45:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6073dd5a-5ee8-4d01-82b5-99139928ac9f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 142 |
{ "stepOrder":5, "stepName":"REST step UPDATED", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D6C492943C5F2F6F42051EDD6AD3D39F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzE0MTU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzMTcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3MTd9.0KN4N9-nwr6GMp9Gv2sRza8HERoPbGVUxaISydDieVU; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:45:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526027854,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":1,"name":"REST step UPDATED","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c4f244cd-12a3-4212-9398-86d783f6bd6f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 129 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzE0MTU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzMTcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3MTd9.0KN4N9-nwr6GMp9Gv2sRza8HERoPbGVUxaISydDieVU |
{ "stepOrder":5, "stepName":"REST", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B6261895411EFD0B4AE9B24271672E90; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:45:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateStep(WorkflowHelper.java:1082)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1337)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cfdbdea7-82fa-49d8-8141-b2f41a7dfdad |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 148 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzE0MTU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzMTcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3MTd9.0KN4N9-nwr6GMp9Gv2sRza8HERoPbGVUxaISydDieVU |
{ "stepOrder":5, "stepName":"REST step Updated again", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=1290929B31D6F258426245D8BA2D82C4; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:45:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526326387,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":1,"name":"REST step Updated again","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a7fb23db-3cd9-4d0b-830d-ec98d93d2f2d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzE0MTU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzMTcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3MTd9.0KN4N9-nwr6GMp9Gv2sRza8HERoPbGVUxaISydDieVU |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=46D756F1FE7D63E4279D767006CE8C67; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:45:32 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1336)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 511a8811-717e-4520-82a0-2ed6e0c6cd7c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzE0MTU0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzMTcsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3MTd9.0KN4N9-nwr6GMp9Gv2sRza8HERoPbGVUxaISydDieVU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6274FA73BEABF50B680BF35F03B11338; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:45:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e0ca0c2b-477c-467b-b047-7b58f37ad11e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:45:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 482dac29-0e09-445b-8ccd-4f4930311952 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=5C0D7D1387BC8DCFD96C00AFCB280B0B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzM3MTIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNDAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NDB9.tVP0-rbU_FuXfldRecAKrX-dvnaf6ZNA8WvBw7nWV9I; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:45:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9be2d6d5-5ff8-4065-a43d-146c0751a9b7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzM3MTIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNDAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NDB9.tVP0-rbU_FuXfldRecAKrX-dvnaf6ZNA8WvBw7nWV9I |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=725E8656AB1D899DCEF3989D60D3D4EE; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:45:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderStep(WorkflowHelper.java:989)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderStep(WorkflowResource.java:1306)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5cd11f71-5be4-4dba-994c-293fafe1fd5d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzM3MTIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNDAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NDB9.tVP0-rbU_FuXfldRecAKrX-dvnaf6ZNA8WvBw7nWV9I |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=651DC306959364F4E8CB6282E69DF335; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:45:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6de32d6d-bf27-4978-a2fa-93a56e2f556f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzM3MTIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNDAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NDB9.tVP0-rbU_FuXfldRecAKrX-dvnaf6ZNA8WvBw7nWV9I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=1F65D0F9C8DBD51145BDE5DB491FA7BB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:45:55 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 05ebeb88-0194-4fe6-83d0-1d0e8940b057 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST2", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:45:55 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 70af819f-7330-402e-9e78-2049f94b1aac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 107 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=4C870E50E1F6A3C3C2C11AA23D8ABDA7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzU2OTIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNTksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NTl9.rkqpE9fXWSDom5TQAQgwMBT42nSYDU-aTBREM8J3J74; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694526359937,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526359943,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bfe20628-f5e4-4db4-a47e-e2c0dd23f5a9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 115 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzU2OTIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNTksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NTl9.rkqpE9fXWSDom5TQAQgwMBT42nSYDU-aTBREM8J3J74 |
{"schemeName": "Default Scheme Updated from REST", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D2B375A8EB305E41FF8E6EDDA1C4CC2E; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1930)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3132)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1926)\n\t... 101 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 41ab73b3-bec0-4109-a92e-6afbfeaaffc4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzU2OTIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNTksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NTl9.rkqpE9fXWSDom5TQAQgwMBT42nSYDU-aTBREM8J3J74 |
{"schemeName": "WF_Import_AsAdmin_edited_Shorty", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=59168CD73453B272A12E7E53B39597A8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526369139,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526369148,"name":"WF_Import_AsAdmin_edited_Shorty","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7582b926-d921-4f58-a555-88d20066e5ac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzU2OTIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNTksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NTl9.rkqpE9fXWSDom5TQAQgwMBT42nSYDU-aTBREM8J3J74 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=749CE63250565D5D1DEC4C06FFF66279; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:15 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3130)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dc002e13-995e-4d89-a0c0-2e1d02e23bd9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2MzU2OTIyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzNTksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3NTl9.rkqpE9fXWSDom5TQAQgwMBT42nSYDU-aTBREM8J3J74 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=BA36DD1005E52087ADFC715FBB723A46; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:46:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 93ec835c-6629-47fe-a052-0cf30e7eb68b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 3}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:46:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4bd8d40a-c0e0-4718-a00f-50bcbfa9223c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=8F9E63FDB947EA25A650368857564569; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:46:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3e4a5634-db62-4b01-b19e-417f3b981b55 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 45 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
{"order" : 123012301203102301230102301230123}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B5B80015AC5D6BE06AB4D900EB5E6256; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | bad-request-exception |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:28 GMT |
| Connection | close |
{"message":"Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]","stacktrace":{"buffer":"com.fasterxml.jackson.core.exc.InputCoercionException: Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportInputCoercion(ParserMinimalBase.java:623)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:592)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:587)\n\tat com.fasterxml.jackson.core.base.ParserBase._reportTooLongIntegral(ParserBase.java:927)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseSlowInt(ParserBase.java:906)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseNumericValue(ParserBase.java:828)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:857)\n\tat com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:689)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:526)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:506)\n\tat com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeSetAndReturn(FieldProperty.java:167)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.vanillaDeserialize(BuilderBasedDeserializer.java:293)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.deserialize(BuilderBasedDeserializer.java:217)\n\tat com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)\n\tat com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:2025)\n\tat com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1175)\n\tat com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:803)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundReadFrom(MappableExceptionWrapperInterceptor.java:74)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)\n\tat org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)\n\tat org.glassfish.jersey.server.ContainerRequest.readEntity(ContainerRequest.java:271)\n\tat org.glassfish.jersey.server.internal.inject.EntityParamValueFactoryProvider$EntityValueFactory.provide(EntityParamValueFactoryProvider.java:96)\n\tat org.glassfish.jersey.server.spi.internal.ParamValueFactoryWithSource.provide(ParamValueFactoryWithSource.java:71)\n\tat org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:94)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:127)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, Bad request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6dd3fa41-53fb-4b22-a1f8-85e02ca9b39c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=2DD0DCE7CB4ACBE7451E0655E8269360; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dabe7fae-3877-45a9-a6ed-efd912463ec5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=17D86FBC1372236A5C3B81C3EA2642F8; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 454d09df-004a-4906-88d4-2c4b0fd40bf5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=2B85DE8292C127805A9967B40C687078; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:46:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 67c9549b-4188-47ba-8cb3-7f87777a1468 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=403A263D6A7F5731F962F104E57431AC; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:44 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2824)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 466d60de-03ed-490a-8959-d9d523fc2875 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1048 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Test Content Type",
"description": "THE DESCRIPTION",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"dataType": "LONG_TEXT",
"dbColumn": "text_area2",
"fieldVariables": [],
"fixed": false,
"iDate": 1453474468000,
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"indexed": true,
"listed": false,
"modDate": 1478557845000,
"name": "Title",
"readOnly": false,
"required": false,
"searchable": true,
"sortOrder": 3,
"unique": false,
"variable": "title"
}],
"workflow": ["d61a59e1-a49c-46f2-a929-db2b4bfa88b2"]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D5FADB55F5D269A3B1DF78225C0B4003; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:46:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"THE DESCRIPTION","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1694526408000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":3,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1694526408000,"icon":"event_note","id":"94a03a7b528590d78d2f752479b24788","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694526414000,"indexed":false,"listed":false,"modDate":1694526414000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694526414000,"indexed":false,"listed":false,"modDate":1694526414000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1694526408000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1694526408000,"multilingualable":false,"name":"Test Content Type","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"TestContentType","versionable":true,"workflows":[{"archived":false,"creationDate":1694526414134,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694526398279,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e8f2a325-8576-40d0-a8ce-6415e1debb4f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 71 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
{
"contentlet":{
"stName": "TestContentType",
"title": "test"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F57F72ABEDEAE8B9CE6723ADDE1CF4DE; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:47:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"2d5e1df0a0147464b875d082ec240ef1","inode":"d6c68180-b2c8-4320-b867-7420bb4b1136","languageId":1,"live":false,"locked":false,"modDate":1694526417354,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526417354,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.d6c68180-b2c8-4320-b867-7420bb4b1136","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3ca3bb48-3130-49f4-85f8-748d085eafc4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=02353A4F02EBABD112C9E5E985CDCA87; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:47:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"2d5e1df0a0147464b875d082ec240ef1","inode":"d6c68180-b2c8-4320-b867-7420bb4b1136","languageId":1,"live":false,"locked":false,"modDate":1694526417354,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526417354,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/content.d6c68180-b2c8-4320-b867-7420bb4b1136","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b2715536-2921-487c-82d1-e3c747f9282f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
{}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=E8FE3231670A7647491AA0407D9D2997; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 95 |
| Date | Tue, 12 Sep 2023 13:47:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0c60b643-f55b-470c-ab8c-9ac0c776dfb7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2Mzc5ODAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjYzODIsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI3ODJ9.iZ5Yz1nRZeNgSLa10w6HelnbGlFoPnxUvbepRGL0BbQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6A9FA35F8BDD60D61251D9BE51B3D9A8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:47:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | df0a78ca-ca4e-49ef-a47b-0b89f132f11e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1694526449",
"value": "SucessRequest1694526449"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=9A667CB15591684A7B4C0C557B894375; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:47:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"9953f4185de5592328683cd092744a4d","inode":"9c1d5220-09fc-42dd-8989-6e610029ed87","key":"SucessRequest1694526449","languageId":1,"live":true,"locked":false,"modDate":1694526453433,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526453433,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1694526449","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9c1d5220-09fc-42dd-8989-6e610029ed87","value":"SucessRequest1694526449","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7ab4952b-6476-4385-b31a-c73aa10dc4b3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=50A5857A4C73CE91E0797C2545252303; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:47:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.validateActionStepAndWorkflow(WorkflowAPIImpl.java:3511)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3360)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 70e7d38f-31dc-426a-b2e6-fde6cc3a1fb5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=C514C9D47AB509087966579086AC7378; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:47:45 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 105 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 826268d3-150b-4f1c-9495-6833182dd3d3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SupportShorty1694526466",
"value": "SupportShorty1694526466"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=0D0EB915F94101110509C2C177BF7CAD; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:47:55 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"aa7ee9e17a6b6bd874c0963b389840ef","inode":"55f59cd9-2314-4a04-a511-bd56629bf4e6","key":"SupportShorty1694526466","languageId":1,"live":true,"locked":false,"modDate":1694526469042,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526469042,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SupportShorty1694526466","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.55f59cd9-2314-4a04-a511-bd56629bf4e6","value":"SupportShorty1694526466","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0b8bccae-68a5-4183-9443-023214114d70 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=73BF65132DEBAD76A9A5B2BF8E3E6D6C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"9953f4185de5592328683cd092744a4d","inode":"504659b1-e9f0-4b50-9e69-667bb432dd91","key":"SucessRequest1694526449","languageId":1,"live":true,"locked":false,"modDate":1694526478413,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526478413,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1694526449","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9c1d5220-09fc-42dd-8989-6e610029ed87","value":"SucessRequest1694526449","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7e1c2af7-ef3b-4e6d-9746-6964f9a996bb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1694526449",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=C7776D9356C220BD8DCBF1B5B1BF8DF9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:07 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bf284575-afb3-4a77-82af-faffa1d29789 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=2F5C3A26C99D02712B797C19FA55BA85; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:11 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 28c683a1-1ef7-4238-989a-4977ba171953 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=3AB948BAD85C96785598C37B76D073CD; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/80ce1fe51bfb8a330f7b0668725d51e3/asset/james.jpeg","assetContentAsset":"80ce1fe51bfb8a330f7b0668725d51e3/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1694526494236,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/e17cd457-519d-4791-8b65-213b71361eef/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"80ce1fe51bfb8a330f7b0668725d51e3","inode":"e17cd457-519d-4791-8b65-213b71361eef","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1694526494309,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.e17cd457-519d-4791-8b65-213b71361eef","publishDate":1694526494309,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.e17cd457-519d-4791-8b65-213b71361eef","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a814f772-793a-4128-b5ba-c952252a0c46 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NDUwMzAwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY0NTMsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI4NTN9.IT9ct78LYpM8_s026DV_JA4VOdNsg8lBsD3-g6-S8Dg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B8E0D9D437C1C78DE48D088195657EE8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:48:24 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7f29cde0-6f5b-40a5-b3b2-b0e9cc34fcd0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1694526504",
"value": "SucessRequest1694526504"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D8E48F5918FCF030D0718E241E52330A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"4a2191732548f741360eb0f48e40f6b0","inode":"245bf550-7c58-465e-9fd6-0649113faf9c","key":"SucessRequest1694526504","languageId":1,"live":true,"locked":false,"modDate":1694526508414,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526508414,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1694526504","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.245bf550-7c58-465e-9fd6-0649113faf9c","value":"SucessRequest1694526504","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire a publish action. In the body the contentType is not sent, just the baseType but it doesn't exists so 400.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e0a3e552-17f2-45b4-832a-3be8c7315bf0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 200 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8 |
{
"contentlet":{
"baseType":"BaseTypeNotExist",
"asset":"temp_c41afefd64",
"hostFolder":"48190c8c-42c4-46af-8d1a-0cd5db894797",
"indexPolicy":"WAIT_FOR"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=DCF948782EEB45EBF32BF580D9009FCA; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | BaseContentType BaseTypeNotExist does not Exist |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:37 GMT |
| Connection | close |
{"message":"BaseContentType BaseTypeNotExist does not Exist","stacktrace":{"buffer":"java.lang.IllegalArgumentException: BaseContentType BaseTypeNotExist does not Exist\n\tat com.dotcms.contenttype.model.type.BaseContentType.getBaseContentType(BaseContentType.java:115)\n\tat com.dotcms.rest.ContentHelper.tryToSetContentType(ContentHelper.java:118)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:101)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:85)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2748)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 11a2b596-dfd6-4512-917a-50588d06e707 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=4DBAA9793B2E59DA6F8D569E92945EE6; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-message | No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | application/json |
| Content-Length | 112 |
| Date | Tue, 12 Sep 2023 13:48:40 GMT |
| Connection | close |
{"message":"No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 743187f5-bd15-445f-9924-f0d215049c2e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8 |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=E23013C9776BD2C82B89BBC506CA8AA4; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:43 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 105 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f21351fb-e9c1-40d2-993f-7d215b538fa9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=4F37DB84A1C4A2E365E854611FBF3BA7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"4a2191732548f741360eb0f48e40f6b0","inode":"430684aa-e405-4921-b82e-a8d735266edc","key":"SucessRequest1694526504","languageId":1,"live":true,"locked":false,"modDate":1694526527142,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526527142,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1694526504","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.245bf550-7c58-465e-9fd6-0649113faf9c","value":"SucessRequest1694526504","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e17ed67c-41b0-4a97-b59d-80b75d128157 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1694526504",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=681355A15ED114C6B3516AC4C81C5A66; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:56 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1ffaa21c-4ef4-4a42-a9df-1097a987ab60 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=9809983C546E0D946116FB700A981374; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:48:59 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 576be246-b664-4f37-b4b2-22dbd3bac937 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8 |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=67AA5714A9AD46450CAA1B07FD5C59E1; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:49:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/69d2203e-20ac-470d-b694-d7a0c5caa91c/asset/james.jpeg","assetContentAsset":"69d2203e-20ac-470d-b694-d7a0c5caa91c/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1694526542784,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/31321c81-0bc8-4248-bc42-2adbc7fc60d2/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"69d2203e-20ac-470d-b694-d7a0c5caa91c","inode":"31321c81-0bc8-4248-bc42-2adbc7fc60d2","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1694526542841,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.31321c81-0bc8-4248-bc42-2adbc7fc60d2","publishDate":1694526542841,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.31321c81-0bc8-4248-bc42-2adbc7fc60d2","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 11531d7c-3d64-4043-bade-70e4436cef5d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTA1MzIwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1MDgsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5MDh9.SPisrvQcJICMrf8kohVGmZ90CT_gHEdRGAe2btG16t8 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=01B275210CF39044B24DEFEBFEF9140A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:49:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9d8bc859-f985-4045-960d-b0838c108df1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:49:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 974d79c2-816b-4796-9895-8746debfd0d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=56425755ADB753982848772BCC010156; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTUzNzU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1NTYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5NTZ9.GiADNqDTEWC9Sks9hdD_ZuP52TNoMb4LaW_en8d_HMA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:49:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526556772,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"77e64b9c-d5b0-487f-be3f-b95666522048","mandatory":false,"modDate":1694526556772,"name":"Copy from REST (automatic)","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4a734767-250c-4859-9334-5f42e9c302f0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTUzNzU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1NTYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5NTZ9.GiADNqDTEWC9Sks9hdD_ZuP52TNoMb4LaW_en8d_HMA |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=0F4ACBB951FDCB9E4A8174A0A841EF68; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:49:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.copyScheme(WorkflowResource.java:2970)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e22d1913-5494-4dd0-8997-eaa13ff59ec1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTUzNzU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1NTYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5NTZ9.GiADNqDTEWC9Sks9hdD_ZuP52TNoMb4LaW_en8d_HMA |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=1280D9BF08BFA388EACC0A7A6484DEBB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:49:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526566065,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"4e673320-bf21-419b-a9a7-9cf03618e283","mandatory":false,"modDate":1694526566065,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d0c35733-6826-4682-bdfe-2ca196c31aa6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTUzNzU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1NTYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5NTZ9.GiADNqDTEWC9Sks9hdD_ZuP52TNoMb4LaW_en8d_HMA |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=9E3C17F48F6F6CCDCE15BBE54A6B835C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:49:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526572204,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"b20b708b-4ce8-4e8b-af16-c0870fbde1ef","mandatory":false,"modDate":1694526572205,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fe7cdbca-e9c3-4462-b6b2-fdf7aa5d884c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTUzNzU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1NTYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5NTZ9.GiADNqDTEWC9Sks9hdD_ZuP52TNoMb4LaW_en8d_HMA |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=E7FE8849BF952291A76711F3C4D35DF9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:49:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526578339,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"5afd79f7-aaa4-4521-a7aa-8c158fbc5692","mandatory":false,"modDate":1694526578340,"name":"Copy Using ShortlyID","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | db542abb-1c68-47f5-9649-c30649801a8a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NTUzNzU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY1NTYsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTI5NTZ9.GiADNqDTEWC9Sks9hdD_ZuP52TNoMb4LaW_en8d_HMA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=193166FC6EC47734FDED3105C7B42D1E; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:49:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3957c108-546d-4858-9670-09340b84a300 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:49:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e7d32551-13f7-4998-92d7-1190b8f108d4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=60ED4BC8E9E62FFC11CA8222D75C36ED; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:49:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526589017,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d9af49cf-1e9a-4328-be90-0560794b08f9","myOrder":0,"name":"REST step Updated again","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4dc4f952-7b93-4b7a-9d51-a58ab61725e9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6FFBDC3A6C391A16C1CFE6B9B146A9B2; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:49:56 GMT |
| Connection | close |
{"message":"Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.","stacktrace":{"buffer":"com.dotmarketing.exception.DotDataValidationException: Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.doDeleteStep(WorkflowAPIImpl.java:1073)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.deleteStep(WorkflowAPIImpl.java:1031)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1133)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bb193e0a-5a5f-4ea1-bf9b-4c566ae6efc3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F3684D7354C29ABF6406B5D6B42E319F; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:50:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1126)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:158)\n\tat java.base/sun.nio.ch.Invoker.invoke(Invoker.java:186)\n\tat java.base/sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.onEvent(UnixAsynchronousServerSocketChannelImpl.java:193)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 39036e29-3267-4ce9-bb7c-ae731e45b32d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
{ "schemeId" : "519b4dfc-7878-482a-b6f3-5ed9c12877c0", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=4049A41D93E694B850526454414C62F7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjAxMDc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MDQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMDR9.10FM7YfoqZ64dZJ0IE2XlvMDufr_o7F_Up6QLbEa4wM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:50:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526604104,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"9fd1d8d6-69f6-46f0-8210-458fa8209765","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4c149943-28b3-445c-bf20-671a385efed0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjAxMDc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MDQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMDR9.10FM7YfoqZ64dZJ0IE2XlvMDufr_o7F_Up6QLbEa4wM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F590A92FF688E2F33321C30002AE9C4A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:50:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526610181,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"9fd1d8d6-69f6-46f0-8210-458fa8209765","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1d205177-f06c-46da-a89d-c5fe397404c0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjAxMDc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MDQsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMDR9.10FM7YfoqZ64dZJ0IE2XlvMDufr_o7F_Up6QLbEa4wM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D07879F4431C6A1166E19F69B7AF79E6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:50:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 90f5bab5-27f2-425d-84f4-13524b68a5c3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:50:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0fea5d3c-50ec-463b-801e-d064e0d85bb1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=67C66BC9C9FD5123DAC3D2799E66A360; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjE3NzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMjB9.oyJpF1EetjJrF7mNdpx8VYUoB4fEODKZz5-5TsX1hg0; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:50:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b40c7e4c-2239-4583-be18-3ffa2be1df7d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjE3NzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMjB9.oyJpF1EetjJrF7mNdpx8VYUoB4fEODKZz5-5TsX1hg0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B76C09C520CB166A75D8340F4271976D; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:50:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1175)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1231)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cdb68abc-6f66-4ef0-8259-94a42d20a595 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjE3NzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMjB9.oyJpF1EetjJrF7mNdpx8VYUoB4fEODKZz5-5TsX1hg0 |
{ "schemeId" : "519b4dfc-7878-482a-b6f3-5ed9c12877c0", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=2DBD42B74E32BE2FED8B02653B8C7FE0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:50:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526629997,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"e6aae0b0-23c6-4535-8700-568599fc1427","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 75b99d81-1277-4f29-ad4b-d5f0c524eef5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjE3NzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMjB9.oyJpF1EetjJrF7mNdpx8VYUoB4fEODKZz5-5TsX1hg0 |
{
"stepId": "e6aae0b0-23c6-4535-8700-568599fc1427",
"actionName": "saveContent FROM REST NEW",
"schemeId": "519b4dfc-7878-482a-b6f3-5ed9c12877c0",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=BB202E049FF99792BAD56102EB656F82; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:50:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"84e12dea-0899-4ff8-99bb-a71392da53aa","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 845ea1a0-c4ac-4c51-ab08-70d846b6f3bf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjE3NzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMjB9.oyJpF1EetjJrF7mNdpx8VYUoB4fEODKZz5-5TsX1hg0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=7022F15B78472F54F434AD6BA88D7675; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:50:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3928f74b-0f7c-496a-bc51-8e100da2c89e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjE3NzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMjB9.oyJpF1EetjJrF7mNdpx8VYUoB4fEODKZz5-5TsX1hg0 |
{ "schemeId" : "519b4dfc-7878-482a-b6f3-5ed9c12877c0", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=352E1169D7C536F6313B272E032B4E7D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:50:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526651328,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"7b9be17b-26eb-412a-9234-d43f5b0cbd75","myOrder":3,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8715c6d4-38e4-4c95-a3f5-c118cb89d190 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjE3NzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMjB9.oyJpF1EetjJrF7mNdpx8VYUoB4fEODKZz5-5TsX1hg0 |
{
"stepId": "7b9be17b-26eb-412a-9234-d43f5b0cbd75",
"actionName": "saveContent FROM REST NEW",
"schemeId": "519b4dfc-7878-482a-b6f3-5ed9c12877c0",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=876F643B56B911B7A056291022F73189; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:51:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"82490194-fff0-41fb-a491-9db1b9b10a69","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a4c3a257-107e-4399-9dff-d87b51e2686a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjE3NzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2MjAsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwMjB9.oyJpF1EetjJrF7mNdpx8VYUoB4fEODKZz5-5TsX1hg0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=BA95D3C1015EA82A4A6AB0F28E438BC0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:51:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 800498b8-557d-444c-a6e7-7e62ae3bda6f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:51:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 977f75ca-38dc-4c7d-9bde-19b1eb1d5a47 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=99754E34113C737AEA77E5B508540D76; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjY4MDUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2NzEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwNzF9.E0YUcEuykvQ0rDjni4HpWsf1ngCLy_Vv4RkWsb4Hdq4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:51:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 754fa106-7292-4e4e-bd1b-5eb24b19d24f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjY4MDUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2NzEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwNzF9.E0YUcEuykvQ0rDjni4HpWsf1ngCLy_Vv4RkWsb4Hdq4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=859DA9C932AD5592C5FB14E246880810; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:51:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1210)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3eb13c32-3eb4-4dad-8772-b5e1b7cb9473 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjY4MDUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2NzEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwNzF9.E0YUcEuykvQ0rDjni4HpWsf1ngCLy_Vv4RkWsb4Hdq4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=9283B8D195ED66923BC9A997DBA336B7; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:51:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1213)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f9620e58-729d-43da-a200-cb2109e09b08 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjY4MDUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2NzEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwNzF9.E0YUcEuykvQ0rDjni4HpWsf1ngCLy_Vv4RkWsb4Hdq4 |
{ "schemeId" : "519b4dfc-7878-482a-b6f3-5ed9c12877c0", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=7A39F8603FE013216DF5C17886F3F0B5; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:51:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1694526683351,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"f02e180e-6328-4448-b724-c1373c42b366","myOrder":4,"name":"My REST step","resolved":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9410f5d3-267a-41d6-8bf6-f039725c1292 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjY4MDUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2NzEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwNzF9.E0YUcEuykvQ0rDjni4HpWsf1ngCLy_Vv4RkWsb4Hdq4 |
{
"stepId": "f02e180e-6328-4448-b724-c1373c42b366",
"actionName": "saveContent FROM REST NEW",
"schemeId": "519b4dfc-7878-482a-b6f3-5ed9c12877c0",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6A8EF069ADBF212D5BA2C57D2318D188; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:51:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"0c1aca9f-0800-4747-8368-9c34cb81edcd","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0bfe7744-825a-4f8d-9ec6-f18b28cd8e18 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjY4MDUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2NzEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwNzF9.E0YUcEuykvQ0rDjni4HpWsf1ngCLy_Vv4RkWsb4Hdq4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=2AA9D055EFDA09039204E705CD5CE3B8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:51:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2b1c5a0d-75ec-485d-b83d-83ec26020598 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NjY4MDUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY2NzEsImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMwNzF9.E0YUcEuykvQ0rDjni4HpWsf1ngCLy_Vv4RkWsb4Hdq4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=8AAA8537498B3CC429E5257489FA6959; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:51:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | acdd84d3-6372-44fb-b1fc-fa362f8f6df1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Tue, 12 Sep 2023 13:51:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ccf25b13-3e7c-4e69-839f-a98b605c4782 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B175AB62634B0BA99AC5379275E4038F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:51:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526709213,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526709215,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5206e5bf-2244-4cf0-b782-61261aafa21d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D4A34187A6B3657C0A81E20663AF03F1; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:51:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526715305,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"519b4dfc-7878-482a-b6f3-5ed9c12877c0","mandatory":false,"modDate":1694526715370,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 09f9bf29-75e8-4029-b73d-7d02cf11f75e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6A04A9D0F1F622926BAC2A4D045554FF; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.delete(WorkflowHelper.java:1955)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteScheme(WorkflowResource.java:3159)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 902e27e6-3830-4ba2-a354-08c63e24319c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=CAC9A3050C2D85FFD6E46340F8BB2C0C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1694526724807,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"45a1b054-9c1a-4791-afde-9f5a4e50488c","mandatory":false,"modDate":1694526724808,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f87cd703-ef42-459c-a185-e8f710567434 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=3761994BB3E8F641B1157A19D3E9D289; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526730891,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"45a1b054-9c1a-4791-afde-9f5a4e50488c","mandatory":false,"modDate":1694526730892,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4c199968-5070-4187-9693-61c24e1dcfaf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=64DD158CCD016C859F40AF6B709BB959; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1694526736973,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"45a1b054-9c1a-4791-afde-9f5a4e50488c","mandatory":false,"modDate":1694526730892,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a content type to associate a system workflow
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 01a40f62-5a77-4ca8-b61c-adc6af339d57 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 432 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"defaultType":false,
"fixed":false,
"system":false,
"clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"description":"",
"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d",
"folder":"SYSTEM_FOLDER",
"name":"TestContentTypeSystemActions",
"systemActionMappings":{
"NEW":"ceca71a0-deee-4999-bd47-b01baa1bcfc8"
},
"workflow":[
"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=5598E0E1BC1B7A744BDB8F093C60CE56; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"fields":[],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694526743000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694526749000,"indexed":false,"listed":false,"modDate":1694526749000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694526749000,"indexed":false,"listed":false,"modDate":1694526749000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"fields":[]}]}],"modDate":1694526743000,"multilingualable":false,"name":"TestContentTypeSystemActions","siteName":"default","sortOrder":0,"system":false,"systemActionMappings":{"NEW":{"identifier":"c4a16f50-c957-4c7a-a87d-6ab797cceaae","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694526743000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1694526743000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false}},"variable":"TestContentTypeSystemActions","versionable":true,"workflows":[{"archived":false,"creationDate":1694526749200,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1694526620819,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Create for the new content type a new mapping for EDIT
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eda2492a-04fd-484d-a262-9f96520943d1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionId":"b9d89c80-3d88-4311-8365-187323c96436",
"systemAction":"EDIT",
"contentTypeVariable":"TestContentTypeSystemActions"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=07EF4393980AB3A977D88AAD78F5E3F0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"identifier":"c074419e-4f7c-4a11-b4c9-0566fc5b1f87","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694526743000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1694526743000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","NEW","LISTING","UNPUBLISHED","LOCKED","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the two content types
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3890e3ed-828d-4da9-9cd1-ac8751f628d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=FD38C04612CB98C8C8A48CE76077E966; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"identifier":"c4a16f50-c957-4c7a-a87d-6ab797cceaae","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694526743000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1694526743000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false},{"identifier":"c074419e-4f7c-4a11-b4c9-0566fc5b1f87","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694526743000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1694526743000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNLOCKED","EDITING","NEW","LISTING","UNPUBLISHED","LOCKED","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Return 2 items | 1 | 0 | 0 |
| Has New System Action | 1 | 0 | 0 |
| New has a Save Action | 1 | 0 | 0 |
| Has Edit System Action | 1 | 0 | 0 |
| New has a Save/Publish Action | 1 | 0 | 0 |
| Total | 6 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 09c61cd4-e177-428b-ac92-55e944f2dbdd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=674899332A0D3DBD2329E26C12B674DA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"605e5c4aa46b9b63bb18d239ed8cf559","inode":"6b71a6e7-503c-4658-b4d0-e220e48a3056","languageId":1,"live":false,"locked":false,"modDate":1694526761539,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526761539,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"605e5c4aa46b9b63bb18d239ed8cf559","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.6b71a6e7-503c-4658-b4d0-e220e48a3056","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an EDIT default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c2bfed53-aded-48d3-a9d9-86dc81c34ead |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D55FA7770F823792A9D706052DDA022F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:52:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"2066637b8295fbe0035848217c88bd70","inode":"0058f5f3-9b30-4e5b-ae20-df1bf1b5362b","languageId":1,"live":true,"locked":false,"modDate":1694526770777,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526770777,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"2066637b8295fbe0035848217c88bd70","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.0058f5f3-9b30-4e5b-ae20-df1bf1b5362b","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an PUBLISH default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e6f189a7-c9f9-465b-80f3-f83acf139f5f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B56AD8CECFD8282B9D7A10E5158BB096; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:53:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"e769de4d57394fce5aa3740d411734d0","inode":"59254369-436c-4060-ab49-45e093c7ecf0","languageId":1,"live":true,"locked":false,"modDate":1694526780125,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526780125,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"e769de4d57394fce5aa3740d411734d0","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.59254369-436c-4060-ab49-45e093c7ecf0","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Publish Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 162a1993-a445-4262-b749-e4b60787f9a0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=E59FE363A6A39DFBF8FBF17387A43535; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Tue, 12 Sep 2023 13:53:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"hostSwitched":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f906b6c0-d3bd-4ee9-b27f-da3d42e0673a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"comments":"Adding New Generic content",
"contentlet": {
"contentType":"webPageContent",
"title":"Test Merge Content",
"body":"Test Merge Body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=61B269C0071575B5EBA562A0B2633F64; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:53:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"26bd10ae304e9029c2678be2305f3b67","inode":"cec55431-751c-4f06-b408-2346750fd703","languageId":1,"live":false,"locked":false,"modDate":1694526792674,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526792674,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.cec55431-751c-4f06-b408-2346750fd703","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1251d1b4-a457-4967-ab7a-3cd29d5f888a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"comments":"Publish an existing Generic content",
"query":"+contentType:webPageContent AND title:\"Test Merge Content\"",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=1656105AD7D16A1EF38B00ACAA362CF5; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:53:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"26bd10ae304e9029c2678be2305f3b67":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"26bd10ae304e9029c2678be2305f3b67","inode":"6002c447-ab34-4b2d-86d8-5fe85a6af1a1","languageId":1,"live":true,"locked":false,"modDate":1694526802922,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526802922,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content Published","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.cec55431-751c-4f06-b408-2346750fd703","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":6988}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d20b7793-0e47-461e-a3c2-30bcc3871f6c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 153 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet": {
"contentType":"webPageContent",
"title":"Test title",
"body":"Test body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=EE90B0E24FF1F9FA5CFAF1C842F36FF2; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:53:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"697a6cfd99198acffff22fd448a8ed54","inode":"90fc9c45-4434-4b66-ae2a-d96cb175e927","languageId":1,"live":false,"locked":false,"modDate":1694526813011,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526813011,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test title","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.90fc9c45-4434-4b66-ae2a-d96cb175e927","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 04fae4a4-a7b5-4592-933b-5a011f5b0657 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=EBF696F60D1BF9633A786BC46FCBE4DB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:53:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"811e3dda-049f-48d9-a96c-10f0dc341047":{"errorMessage":"Content not found","identifier":null,"inode":"811e3dda-049f-48d9-a96c-10f0dc341047"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":12}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 84441dee-a2a8-4d95-8b7e-194b5e723267 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=AA27A052FCF87DB1D699397F7DBD48D7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:53:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"xxxx":{"errorMessage":"Content not found","identifier":null,"inode":"xxxx"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":4}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Content Not Found | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2899c9e3-eb29-4e13-8c1a-327e619e587c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3448 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1",
"contentHost":"default",
"body":"Body Content1"
},
{
"contentType":"webPageContent",
"title":"Content2",
"contentHost":"default",
"body":"Body Content2"
},
{
"contentType":"webPageContent",
"title":"Content3",
"contentHost":"default",
"body":"Body Content3"
},
{
"contentType":"webPageContent",
"title":"Content4",
"contentHost":"default",
"body":"Body Content4"
},
{
"contentType":"webPageContent",
"title":"Content5",
"contentHost":"default",
"body":"Body Content5"
},
{
"contentType":"webPageContent",
"title":"Content6",
"contentHost":"default",
"body":"Body Content6"
},
{
"contentType":"webPageContent",
"title":"Content7",
"contentHost":"default",
"body":"Body Content7"
},
{
"contentType":"webPageContent",
"title":"Content8",
"contentHost":"default",
"body":"Body Content8"
},
{
"contentType":"webPageContent",
"title":"Content9",
"contentHost":"default",
"body":"Body Content9"
},
{
"contentType":"webPageContent",
"title":"Content10",
"contentHost":"default",
"body":"Body Content10"
},
{
"contentType":"webPageContent",
"title":"Content11",
"contentHost":"default",
"body":"Body Content11"
},
{
"contentType":"webPageContent",
"title":"Content12",
"contentHost":"default",
"body":"Body Content12"
},
{
"contentType":"webPageContent",
"title":"Content13",
"contentHost":"default",
"body":"Body Content13"
},
{
"contentType":"webPageContent",
"title":"Content14",
"contentHost":"default",
"body":"Body Content14"
},
{
"contentType":"webPageContent",
"title":"Content15",
"contentHost":"default",
"body":"Body Content15"
},
{
"contentType":"webPageContent",
"title":"Content16",
"contentHost":"default",
"body":"Body Content16"
},
{
"contentType":"webPageContent",
"title":"Content17",
"contentHost":"default",
"body":"Body Content17"
},
{
"contentType":"webPageContent",
"title":"Content18",
"contentHost":"default",
"body":"Body Content18"
},
{
"contentType":"webPageContent",
"title":"Content19",
"contentHost":"default",
"body":"Body Content19"
},
{
"contentType":"webPageContent",
"title":"Content20",
"contentHost":"default",
"body":"Body Content20"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=DC469CF984C9BE4260D83A7FCB12C7C4; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:54:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"d9872ff6d3329341bdf89c09f6b04fa7":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"d9872ff6d3329341bdf89c09f6b04fa7","inode":"50dc5dad-314e-4eda-a7ba-badbc043f70a","languageId":1,"live":true,"locked":false,"modDate":1694526828611,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526828611,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.50dc5dad-314e-4eda-a7ba-badbc043f70a","working":true}},{"2ad10a39a6170711caa526968c0be348":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content2","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"2ad10a39a6170711caa526968c0be348","inode":"f0a36b51-eda1-419c-ae04-109701afb2a8","languageId":1,"live":true,"locked":false,"modDate":1694526828613,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526828613,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content2","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f0a36b51-eda1-419c-ae04-109701afb2a8","working":true}},{"28449a65c08dfbd57f1fe61292dfec48":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content3","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"28449a65c08dfbd57f1fe61292dfec48","inode":"eaf04e2b-5079-461b-a6c8-4780b062d85c","languageId":1,"live":true,"locked":false,"modDate":1694526834920,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526834920,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content3","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.eaf04e2b-5079-461b-a6c8-4780b062d85c","working":true}},{"f296009e2b127c67f6d82a5203929da1":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content4","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"f296009e2b127c67f6d82a5203929da1","inode":"b32088fc-4037-4dcf-8de9-16d6ff9b37a7","languageId":1,"live":true,"locked":false,"modDate":1694526835044,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526835044,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content4","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b32088fc-4037-4dcf-8de9-16d6ff9b37a7","working":true}},{"2eebdc71c3d0b4da01921911802bb7d0":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content5","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"2eebdc71c3d0b4da01921911802bb7d0","inode":"5461bfe7-2ae7-4d9c-8684-20e7f533b3f0","languageId":1,"live":true,"locked":false,"modDate":1694526841396,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526841396,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content5","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.5461bfe7-2ae7-4d9c-8684-20e7f533b3f0","working":true}},{"ecfe95461ea7f8766f5118f78222aa82":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content6","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"ecfe95461ea7f8766f5118f78222aa82","inode":"e7792fdd-5980-408e-8d74-bf5685003fc8","languageId":1,"live":true,"locked":false,"modDate":1694526841587,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526841587,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content6","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e7792fdd-5980-408e-8d74-bf5685003fc8","working":true}},{"6d285bf1cb8b2910e3bd4788ad4ef283":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content7","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"6d285bf1cb8b2910e3bd4788ad4ef283","inode":"a92e6aa1-a6d5-4af5-a93b-43c41e2e059a","languageId":1,"live":true,"locked":false,"modDate":1694526847909,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526847909,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content7","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.a92e6aa1-a6d5-4af5-a93b-43c41e2e059a","working":true}},{"a2993de6de224ca59994ebfa1d012b2f":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content8","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"a2993de6de224ca59994ebfa1d012b2f","inode":"237219ec-61dd-4d2c-95e8-4af05d70245c","languageId":1,"live":true,"locked":false,"modDate":1694526848013,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526848013,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content8","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.237219ec-61dd-4d2c-95e8-4af05d70245c","working":true}},{"d1e526112b9ae4e573c852da7e9c65de":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content9","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"d1e526112b9ae4e573c852da7e9c65de","inode":"e8eccc4d-a9ae-4cfe-b908-fb558cb813ad","languageId":1,"live":true,"locked":false,"modDate":1694526854293,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526854293,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content9","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e8eccc4d-a9ae-4cfe-b908-fb558cb813ad","working":true}},{"78227de3e5cdf89a837375fdc6b1e598":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content10","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"78227de3e5cdf89a837375fdc6b1e598","inode":"b36152c3-2c02-41e8-98eb-9740edcdedc4","languageId":1,"live":true,"locked":false,"modDate":1694526854482,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526854482,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content10","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b36152c3-2c02-41e8-98eb-9740edcdedc4","working":true}},{"a6c884044d5eaddf7b00994ac0d05c0f":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content11","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"a6c884044d5eaddf7b00994ac0d05c0f","inode":"3f7d0497-275e-4f4f-9392-f24fe7707d33","languageId":1,"live":true,"locked":false,"modDate":1694526860768,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526860768,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.3f7d0497-275e-4f4f-9392-f24fe7707d33","working":true}},{"e7a81460bf2047bf4905053e96ebab5e":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content12","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"e7a81460bf2047bf4905053e96ebab5e","inode":"8ae8af9f-57c7-42b1-8354-79105984225d","languageId":1,"live":true,"locked":false,"modDate":1694526860845,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526860845,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content12","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.8ae8af9f-57c7-42b1-8354-79105984225d","working":true}},{"40cc07052b3d0b5435be2f7ea741cc02":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content13","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"40cc07052b3d0b5435be2f7ea741cc02","inode":"e86c4c88-c429-454a-82cc-a05b86df5bd9","languageId":1,"live":true,"locked":false,"modDate":1694526867189,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526867189,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content13","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e86c4c88-c429-454a-82cc-a05b86df5bd9","working":true}},{"cc2bab4bcdcd76a1f4db74ec2d1d7831":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content14","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"cc2bab4bcdcd76a1f4db74ec2d1d7831","inode":"30856704-c030-461a-9e67-8e1930039531","languageId":1,"live":true,"locked":false,"modDate":1694526867378,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526867378,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content14","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.30856704-c030-461a-9e67-8e1930039531","working":true}},{"9a5f2d048350ef4434a85f0de12efc1d":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content15","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9a5f2d048350ef4434a85f0de12efc1d","inode":"46342de3-44d3-4356-9b67-0985c9a4c7cb","languageId":1,"live":true,"locked":false,"modDate":1694526873499,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526873499,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content15","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.46342de3-44d3-4356-9b67-0985c9a4c7cb","working":true}},{"992b7c7a651a605663e9187f661dd625":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content16","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"992b7c7a651a605663e9187f661dd625","inode":"57ebed56-c2fd-4112-989a-97e57835ceea","languageId":1,"live":true,"locked":false,"modDate":1694526873773,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526873773,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content16","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.57ebed56-c2fd-4112-989a-97e57835ceea","working":true}},{"728c375ff0803904e0401b4ded791645":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content17","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"728c375ff0803904e0401b4ded791645","inode":"1137e4f7-a15c-423e-a26c-f2dda38c5757","languageId":1,"live":true,"locked":false,"modDate":1694526879802,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526879802,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content17","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.1137e4f7-a15c-423e-a26c-f2dda38c5757","working":true}},{"dd0ec4233602488ac0d80bd84805d299":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content18","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"dd0ec4233602488ac0d80bd84805d299","inode":"1830c35d-d839-4657-bdb6-538e7ecaf831","languageId":1,"live":true,"locked":false,"modDate":1694526880232,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526880232,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content18","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.1830c35d-d839-4657-bdb6-538e7ecaf831","working":true}},{"eee5cd26bd2b99d86e09d2194e00ed56":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content19","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"eee5cd26bd2b99d86e09d2194e00ed56","inode":"e0fea5a1-053e-4d70-a4f1-06d613c67cfe","languageId":1,"live":true,"locked":false,"modDate":1694526886096,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526886096,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content19","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e0fea5a1-053e-4d70-a4f1-06d613c67cfe","working":true}},{"db102f3413bd0b45426f8b805cfc6905":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content20","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"db102f3413bd0b45426f8b805cfc6905","inode":"24654c62-ffe2-470c-a4c6-bc49c9b82fb2","languageId":1,"live":true,"locked":false,"modDate":1694526886504,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526886504,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content20","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.24654c62-ffe2-470c-a4c6-bc49c9b82fb2","working":true}}],"summary":{"affected":20,"failCount":0,"successCount":20,"time":64188}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets but some of them are sent without ContentType so it should fail
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d4a0177c-1867-432f-b854-58258c7e382e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 336 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1 SUCCESS",
"contentHost":"default",
"body":"Body Content1"
},
{
"title":"Content2 FAIL",
"contentHost":"default",
"body":"Body Content2"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=E832578CE9579B18A0DF4F17B897847A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:55:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"{title=Content2 FAIL, contentHost=default, body=Body Content2}":{"errorMessage":"Content Type does not exist","identifier":null,"inode":null}},{"37e7020ceb96e1010dbab846fa3349e1":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"37e7020ceb96e1010dbab846fa3349e1","inode":"db92b658-5f6b-4a63-a91d-292418ff7db4","languageId":1,"live":true,"locked":false,"modDate":1694526895854,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526895854,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1 SUCCESS","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.db92b658-5f6b-4a63-a91d-292418ff7db4","working":true}}],"summary":{"affected":2,"failCount":1,"successCount":1,"time":6295}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a temporal file to be uploaded later
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Origin | http://localhost:8080 |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0dae81f9-b8f5-4a20-ac62-008289e62924 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"fileName":"250px-Bocas2.jpg",
"remoteUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Bocas2.jpg/250px-Bocas2.jpg"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F4B5522598AB03BA74926C94616937D8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:55:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"tempFiles":[{"fileName":"250px-Bocas2.jpg","folder":"","id":"temp_073ed1394f","image":true,"length":10555,"mimeType":"image/jpeg","referenceUrl":"/dA/temp_073ed1394f/tmp/250px-Bocas2.jpg","thumbnailUrl":"/contentAsset/image/temp_073ed1394f/tmp/filter/Thumbnail/thumbnail_w/250/thumbnail_h/250/250px-Bocas2.jpg"}]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| File name check | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets with binary fields on them, to achieve this the file must be uploaded first using the temp resource.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 34a612d7-0432-40d2-8398-e9e13e313557 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 162 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlets":[
{
"contentType":"DotAsset",
"asset":"temp_073ed1394f",
"hostFolder":"default"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D07C40EB619317F1B6B6229E5B188C2A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:55:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"73182827975daf52703fd6db10f80e71":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpgIcon","archived":false,"asset":"/dA/73182827975daf52703fd6db10f80e71/asset/250px-Bocas2.jpg","assetContentAsset":"73182827975daf52703fd6db10f80e71/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":10555,"height":187,"isImage":true,"length":10555,"modDate":1694526905845,"name":"250px-Bocas2.jpg","sha256":"735c49b3d9ee65891ae038fa7005cff339d66414a4c8aeefa9900c855d637a61","title":"250px-Bocas2.jpg","version":20220201,"width":250},"assetVersion":"/dA/4b5fcaee-d700-42e6-848f-b38004901030/asset/250px-Bocas2.jpg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"73182827975daf52703fd6db10f80e71","inode":"4b5fcaee-d700-42e6-848f-b38004901030","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1694526908989,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"250px-Bocas2.jpg","owner":"dotcms.org.1","path":"/content.4b5fcaee-d700-42e6-848f-b38004901030","publishDate":1694526908989,"size":10555,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"250px-Bocas2.jpg","titleImage":"asset","type":"dotasset","url":"/content.4b5fcaee-d700-42e6-848f-b38004901030","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":6359}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1d4ebc5a-a31c-4c39-bacb-44693e261506 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=D2B128726CBCD3746F724F39CEF5E992; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:55:24 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"a187e4c6-9b8f-4950-a6ef-4df16db61129","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8403e10a-ebfc-44c2-958b-298093675a22 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=07DE36CF548D401D2D6076921248934D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:55:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b4776798-4d1c-4afc-96fb-65220e5156b6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B0A837392F2F1630967A78D0B0EA7736; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:55:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"f5aef831-7fac-453f-94a2-826bf6f0bf2c","isContentlet":true,"languageId":1,"live":true,"liveInode":"f5aef831-7fac-453f-94a2-826bf6f0bf2c","locked":false,"mimeType":"application/dotpage","modDate":1694526933713,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1694526933713,"shortyLive":"f5aef8317f","shortyWorking":"f5aef8317f","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"f5aef831-7fac-453f-94a2-826bf6f0bf2c"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 681c9baf-af43-4a10-b4c7-82022b23731c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A297D402197A410BC19E665295475026; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:55:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__icon__":"pageIcon","_path_to_move":"//default/moveto","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"d4381981618af4daa59a925ee70d30c3","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"f5aef831-7fac-453f-94a2-826bf6f0bf2c","isContentlet":true,"languageId":1,"live":true,"liveInode":"f5aef831-7fac-453f-94a2-826bf6f0bf2c","locked":false,"mimeType":"application/dotpage","modDate":1694526933713,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/moveto/pageassetcontentalreadyexistsmove","publishDate":1694526933713,"shortyLive":"f5aef8317f","shortyWorking":"f5aef8317f","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/pageassetcontentalreadyexistsmove","working":true,"workingInode":"f5aef831-7fac-453f-94a2-826bf6f0bf2c"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1e404787-9cf5-462e-a5d6-fc68e399c73c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=880CE0716EBCC41C519B42CDCA15AFF8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:56:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"7dc4a4a2-4e5c-46b2-be28-5d08d0c31043","inode":"3c1b4fbc-144a-448a-94e0-87b5d2b8c8a8","isContentlet":true,"languageId":1,"live":true,"liveInode":"3c1b4fbc-144a-448a-94e0-87b5d2b8c8a8","locked":false,"mimeType":"application/dotpage","modDate":1694526957394,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1694526957394,"shortyLive":"3c1b4fbc14","shortyWorking":"3c1b4fbc14","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"3c1b4fbc-144a-448a-94e0-87b5d2b8c8a8"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1e1aeee1-e5ae-4126-a7ac-6d329f032df6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6488B61D78B1EE8BC55B06F32FD8920E; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/ |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:56:06 GMT |
| Connection | close |
{"message":"Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:538)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:481)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:413)\n\tat com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.move(ContentletAPIInterceptor.java:650)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.lambda$executeAction$5e0ff813$1(MoveContentActionlet.java:78)\n\tat io.vavr.control.Try.of(Try.java:75)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.executeAction(MoveContentActionlet.java:78)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireWorkflowPostCheckin(WorkflowAPIImpl.java:2410)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.lambda$fireContentWorkflow$73(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.util.ThreadContextUtil.wrapVoidNoReindex(ThreadContextUtil.java:85)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ec66bc3e-5327-4317-bc4d-09a00a58ba9d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B8D8F962B65B927DEB08C9C2C4C17429; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:56:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"ae2e1831-dc08-4eb7-8c51-60018edfe565","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["NEW","UNPUBLISHED","LOCKED","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e4630318-6d8a-4247-bac2-1ef12be0eefc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=3E52DFC77B41FDBEC8F9F7D69A412E70; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Tue, 12 Sep 2023 13:56:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 92ad71ff-8cef-4d67-8ca7-029ec708832a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet": {
"contentType": "webPageContent",
"title":"Test",
"body":"Test",
"contentHost":"SYSTEM_HOST"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=42A33664D037E639156724AE5B728F4A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:56:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"cbc382c55d2efcb671c9f82e6f637f03","inode":"c8dabfca-4af6-44f2-a104-9b80e8630c7a","languageId":1,"live":true,"locked":false,"modDate":1694526985229,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526985229,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.c8dabfca-4af6-44f2-a104-9b80e8630c7a","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9218e8b0-c597-4876-a540-be1a28dcddee |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=8925F4238864F5CCCBB1533B0B29F012; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:56:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"_path_to_move":"//default/moveto","archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"d4381981618af4daa59a925ee70d30c3","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"cbc382c55d2efcb671c9f82e6f637f03","inode":"c8dabfca-4af6-44f2-a104-9b80e8630c7a","languageId":1,"live":true,"locked":false,"modDate":1694526985229,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694526985229,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/content.c8dabfca-4af6-44f2-a104-9b80e8630c7a","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 00d25398-7504-4306-a0a6-27d6d077338e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=B3ED7230D7504B0E9F641B74BC69FF4D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:56:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","host":{"aliases":null,"archived":false,"categoryId":"1b407535-67e3-4f21-ad00-8ef5ef492d64","contentTypeId":"855a2d72-f2f3-4169-8b04-ac5157c4380c","default":true,"dotAsset":false,"fileAsset":false,"folder":"SYSTEM_FOLDER","form":false,"host":"SYSTEM_HOST","hostThumbnail":null,"hostname":"default","htmlpage":false,"identifier":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","indexPolicyDependencies":"DEFER","inode":"1b407535-67e3-4f21-ad00-8ef5ef492d64","keyValue":false,"languageId":1,"live":true,"locked":true,"lowIndexPriority":false,"modDate":1685051810282,"modUser":"dotcms.org.1","name":"default","new":false,"owner":"dotcms.org.1","parent":true,"permissionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","permissionType":"com.dotmarketing.portlets.contentlet.model.Contentlet","persona":false,"sortOrder":0,"structureInode":"855a2d72-f2f3-4169-8b04-ac5157c4380c","systemHost":false,"tagStorage":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","title":"default","titleImage":null,"type":"contentlet","vanityUrl":false,"variantId":"DEFAULT","versionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true},"hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","idate":1694526944774,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","map":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1694526944774,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","modDate":1694526944773,"name":"moveto","owner":null,"path":"/moveto/","showOnMenu":false,"sortOrder":0,"title":"moveto","type":"folder"},"modDate":1694526944773,"name":"moveto","owner":null,"parent":true,"path":"/moveto/","permissionId":"d4381981618af4daa59a925ee70d30c3","permissionType":"com.dotmarketing.portlets.folders.model.Folder","showOnMenu":false,"sortOrder":0,"systemFolder":false,"title":"moveto","type":"folder"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0da736f0-7b08-4d14-9e72-877228a9f665 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Content-Length | 2587342 |
{"file":"resources/issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=A75C81F015B294380F5A24409592DF91; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 81 |
| Date | Tue, 12 Sep 2023 13:57:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ba3b3fab-a735-4595-9931-a2ff8a86f0d9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{"query":"+contentType:Issue21482 +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=5CCC93B81941E3E0FA72745E64B8D423; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:57:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":45,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-05-05 17:06:40.823","imageMetaData":{"modDate":1651770380645,"sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","length":2192322,"title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"isImage":true,"fileSize":2192322,"name":"Iron Maiden Somewhere in time front cover.jpeg","width":1280,"contentType":"image/jpeg","height":1280},"publishDate":"2022-05-05 17:06:40.823","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","title":"Iron Maiden","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","baseType":"CONTENT","inode":"5da9f247-3308-48fd-9f3a-00138ba0d427","archived":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"videoMetaData":{"modDate":1651770396125,"sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","length":386530,"title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"isImage":true,"fileSize":386530,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","width":1250,"contentType":"image/jpeg","height":1231},"stInode":"665acd917b55aa436b7773223e4c1ff2","contentType":"Issue21482","live":true,"owner":"dotcms.org.1","imageVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/image/Iron Maiden Somewhere in time front cover.jpeg","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","languageId":1,"url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","titleImage":"image","modUserName":"Admin User","hasLiveVersion":true,"videoVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","folder":"SYSTEM_FOLDER","hasTitleImage":true,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":766,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ea161efa-d849-45b6-8cdb-e1c51601c1ee |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 291 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=82B051905D6F2738CA0DC63F3A56067F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:57:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","imageMetaData":{"contentType":"image/jpeg","fileSize":2192322,"height":1280,"isImage":true,"length":2192322,"modDate":1694527008090,"name":"Iron Maiden Somewhere in time front cover.jpeg","sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"width":1280},"imageVersion":"/dA/60eeab10-febb-4fa1-ae21-7d5dcb8d95d0/image/Iron Maiden Somewhere in time front cover.jpeg","inode":"60eeab10-febb-4fa1-ae21-7d5dcb8d95d0","languageId":1,"live":true,"locked":false,"modDate":1694527027229,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527027229,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"image","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1694527008098,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/60eeab10-febb-4fa1-ae21-7d5dcb8d95d0/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8563e5e3-e911-40de-907c-f403f6670cab |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 312 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482",
"image":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=30FAD5648BC843A3FB6A6AF92F6009BB; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:57:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","inode":"196489fd-5f76-4915-b342-d58302d85865","languageId":1,"live":true,"locked":false,"modDate":1694527036705,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527036705,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"video","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1694527008098,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/196489fd-5f76-4915-b342-d58302d85865/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0dd058ba-de66-47e6-b759-27c5ab33562c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=362A37F1B4D2EBDF703F6F809154A3D8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:57:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"id":"e7d4e34e-5127-45fc-8123-d48b62d510e3","name":"Admin User (User)","roleKey":"dotcms.org.1","user":true},{"id":"654b0931-1027-41f7-ad4d-173115ed8ec1","name":"Current User","roleKey":"CMS Anonymous","user":false},{"id":"6b1fa42f-8729-4625-80d1-17e4ef691ce7","name":"CMS Owner","roleKey":"CMS Owner","user":false},{"id":"742c9eb3-8651-4df4-b1dc-00c8c64aee4f","name":"LDAP User","roleKey":"LDAP User","user":false},{"id":"6f9d5449-8f48-4179-a2ad-1983d6217fef","name":"Login As","roleKey":"Login As","user":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| length check | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | efb6114a-18e0-4cdc-ac6f-46b8367b0388 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 308 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["654b0931-1027-41f7-ad4d-173115ed8ec1"],
"WRITE":["654b0931-1027-41f7-ad4d-173115ed8ec1"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=5D8AEA00AE49F312E3A78906EF6CD704; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:57:41 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"6a95807b4c6153844d6e1e2be00ad8de","inode":"956f342a-4ee5-497f-a519-9a99fce62be9","languageId":1,"live":true,"locked":false,"modDate":1694527049229,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527049229,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test3-11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.956f342a-4ee5-497f-a519-9a99fce62be9","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a9258e1f-6728-4aaa-a54b-d69c58a3ddb1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=DD4EC06DDAA61027DC7BB83C00D59110; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:57:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"bitPermission":false,"id":0,"inode":"6a95807b4c6153844d6e1e2be00ad8de","permission":"EDIT","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"},{"bitPermission":false,"id":0,"inode":"6a95807b4c6153844d6e1e2be00ad8de","permission":"READ","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"},{"bitPermission":false,"id":0,"inode":"SYSTEM_HOST","permission":"READ","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"com.dotmarketing.portlets.contentlet.model.Contentlet"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| The permission should be EDIT | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This endpoint imports a bundle that contains an instance of a Content Type that contains 2 category fields.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c8e0d72c-5b1a-4d8b-8c5a-2ab3c0beb40d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Content-Length | 10047 |
{"file":"resources/issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=22330BA7B500A621FCD41EE3173F1A53; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 92 |
| Date | Tue, 12 Sep 2023 13:57:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Once the Content type that contains the category fields has been imported this request finds it and gets the identifier from it.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 690f234d-62b6-44e3-992e-387643f96e4c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=1F39AB007134A0FB5B1D972E1EB415CF; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:58:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":67,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-09-06 23:12:52.124","publishDate":"2022-09-06 23:12:52.124","title":"Update Norco Revolver","baseType":"CONTENT","inode":"98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":998,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This is basically the happy path test. We validate that the content-type can be updated passing arrays of valid categories. Then verify the response to check the categories are the expected.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fbb1c6b5-5256-4f8c-a983-72dbc7efc55f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 353 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["MTB","Road"],
"make":["Norco"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=DFD9CA48A63D29CC98D2EADEF0E2E634; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:58:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"60a4ef1f-2a52-4f3f-b73d-716197d3070b","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694527086538,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527086538,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This test is meant to send a request without including any of the category fields. The categories on the target content should remain the same.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e855fb72-05b0-4bd4-9e47-ed562df74ed1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 300 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=CE9D7AE8120D8F2A619A8B1D1CFEC85E; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:58:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"5aae824b-ed2b-4080-806a-ab2c632d86b9","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694527095877,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527095877,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to fetch the instance of our content with categories and verify it remains unmodified after the last request that had excluded the category fields.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 498ef58c-8739-4a2e-9881-cf8cc7df77d3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=44617CA668E997BE9DF2DE0A6F66A0C4; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:58:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":31,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2023-09-12 13:58:15.877","publishDate":"2023-09-12 13:58:15.877","title":"Update Norco Revolver","baseType":"CONTENT","inode":"5aae824b-ed2b-4080-806a-ab2c632d86b9","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":10,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Now we're gonna try removing the contents from one of the category fields and at the same time we're gonna ignore the second field.
The expected outcome is: Content withe the "bikeType" field cleared and the while "make" should still keep their values.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9bc72ed7-4652-4d3a-8e69-213e1f97e4a0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 316 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":[]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=462032BA6CB2FA646E598099FC40773D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:58:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"27aad27c-f785-4f7f-a8f2-c824ce78f415","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694527108268,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527108268,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
In this request we want to test that when sending an invalid category name we can expect an invalid request response.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1a768d2e-12a3-419f-8c0d-ccf40d30012c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 321 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["lol"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=1FD06AC4AAD80F4941086371A1D073B7; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:58:37 GMT |
| Connection | close |
{"message":"Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.\n\tat com.dotcms.rest.MapToContentletPopulator.getCategoriesFromStringValue(MapToContentletPopulator.java:605)\n\tat com.dotcms.rest.MapToContentletPopulator.internalFetchCategories(MapToContentletPopulator.java:490)\n\tat com.dotcms.rest.MapToContentletPopulator.fetchCategories(MapToContentletPopulator.java:458)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1593)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionByNameSinglePart(WorkflowResource.java:1535)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to test that we can also update categories sending them on the request as a comma separated string.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 329b29ee-d319-4cdc-9cde-9efd689fed7a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 324 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":"MTB,Road"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F564F66A3671D38837D4F062FDB0D39F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:58:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"a19331a2-b1aa-4b3f-9a7a-5f9d17641c53","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694527120735,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527120735,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
And finally we want to test that sending null as the value on the category field has the same effect as ignoring the field.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 93323d0e-aeec-43c7-944b-b1c26e995f5a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 338 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":null,
"make":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=72FDE1BC8CA5A69C32C2F092A012FC36; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"a74cc477-7f98-46b2-bc49-ec7606199f35","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1694527130149,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527130149,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Imports a Bundle that includes:
* HTMLPage /blog/index
* HTMLPage /blog/destinations/costa-rica
* Contentlet [Blog] Ecotourism in Costa Rica
* Blog Detail Page /blog/blog-detail
| Header Name | Header Value |
|---|---|
| Content-Type | application/octet-stream |
| Content-Disposition | attachment |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8c86bc18-63e2-4ad3-a177-a4a57acc1d7d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
| Content-Length | 13216 |
{"file":"resources/WorkflowResource/experimentType.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=7E14AE7A1DD2CC2A2C8F94B9B9D0053B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 57 |
| Date | Tue, 12 Sep 2023 13:59:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"experimentType.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Bundle uploaded sucessfully | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5c2553c9-5baf-4014-8c03-78001412c8d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 486 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{ "contentlet" : {
"stInode" : "28ff0587887d2be07175b8b4fe06129f",
"languageId" : 1,
"name": "experiment 2",
"description": "exp desc",
"trafficAllocation": 50.0,
"trafficProportion": {
"variants": [
{
"name": "default",
"trafficPercentage": 50.0
},
{
"name": "variant1",
"trafficPercentage": 50.0
}
],
"type": "SPLIT_EVENLY"
}
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=9AECA400D6EE96BD19B1CFEDA916DCB7; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:59:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Experiment","description":"exp desc","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"48190c8c-42c4-46af-8d1a-0cd5db894797","hostName":"demo.dotcms.com","identifier":"6aedc1060f918f188944fcdbd63f1dcb","inode":"0409c0b7-a7e1-46c7-8dd7-798e7800d0d8","languageId":1,"live":true,"locked":false,"modDate":1694527156767,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"experiment 2","owner":"dotcms.org.1","publishDate":1694527156767,"sortOrder":0,"stInode":"28ff0587887d2be07175b8b4fe06129f","title":"experiment 2","titleImage":"TITLE_IMAGE_NOT_FOUND","trafficAllocation":50.0,"trafficProportion":{"type":"SPLIT_EVENLY","variants":[{"name":"default","trafficPercentage":50.0},{"name":"variant1","trafficPercentage":50.0}]},"url":"/content.0409c0b7-a7e1-46c7-8dd7-798e7800d0d8","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 81fac7d6-79c1-48b0-b20d-e3a7c9014bb1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 280 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet": {
"hostFolder":"default",
"title": "greatings.txt",
"fileName": "greatings.txt",
"fileAsset": {
"fileName": "greatings.txt",
"content": "Hello dotCMS"
},
"contentType": "FileAsset"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=0F8894697949C046A863EC26BFC19D9A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:59:32 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"txtIcon","archived":false,"baseType":"FILEASSET","contentType":"FileAsset","description":"","extension":"txt","fileAsset":"/dA/00efc056471d5dab0ffc93da187df97f/fileAsset/greatings.txt","fileAssetContentAsset":"00efc056471d5dab0ffc93da187df97f/fileAsset","fileAssetVersion":"/dA/2dc62ca0-4991-4f07-9cae-785d70a06e48/fileAsset/greatings.txt","fileName":"greatings.txt","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"00efc056471d5dab0ffc93da187df97f","inode":"2dc62ca0-4991-4f07-9cae-785d70a06e48","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"text/plain; charset=ISO-8859-1","modDate":1694527166181,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"greatings.txt","owner":"dotcms.org.1","parent":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","path":"/greatings.txt","publishDate":1694527166181,"size":12,"sortOrder":0,"stInode":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"greatings.txt","titleImage":"TITLE_IMAGE_NOT_FOUND","type":"file_asset","underlyingFileName":"greatings.txt","url":"/greatings.txt","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 82356068-c5be-4d02-b16b-d0f60d92b6d9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 401 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet":{
"identifier":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=CD01422E93691C4D520D68164D516BDB; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:59:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c4924ea0-c7f1-44e1-8982-f04c4ccbbb53 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 396 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet":{
"inode":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=6511D19D567C07B1AE4A35F244C32E7C; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:59:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor487.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0b1b1a3b-d135-4170-9544-104c2a7f4b89 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=24D68856507A390D976A181150D1DCCF; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:59:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor487.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63c094d7-131e-4b0b-a9e8-686b92ea9861 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=F8CD01D4AB5DA0F25E90953196E62A2F; Path=/; Secure; HttpOnly; SameSite=Lax |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:59:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor487.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6d61651f-a7e5-4671-be98-25fd156f46fd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 941 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Region",
"description": "Region",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"dataType": "TEXT",
"fieldType": "Text",
"fieldTypeLabel": "Text",
"fieldVariables": [],
"fixed": false,
"iDate": 1606168746000,
"indexed": true,
"listed": true,
"modDate": 1606168746000,
"name": "Title",
"readOnly": false,
"required": true,
"searchable": true,
"sortOrder": 1,
"unique": false,
"variable": "title"
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=DF8247861BBCC809C6ED5C15682C3455; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 13:59:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Region","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1694527188000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":1,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1694527188000,"icon":"event_note","id":"cec7ff58001803af652a64b505f84dd7","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694527194000,"indexed":false,"listed":false,"modDate":1694527194000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694527194000,"indexed":false,"listed":false,"modDate":1694527194000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1694527188000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1694527188000,"multilingualable":false,"name":"Region","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Region","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 42f51d2c-abe3-47f5-87d9-f5f2e4fe20a8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 646 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Movie",
"description": "Movies",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableRelationshipField",
"required": false,
"name": "Regions",
"relationships": {
"velocityVar": "Region",
"cardinality": 0
},
"searchable": false
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=4402B6006FEEEC18DFFFC32BC3829E27; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 14:00:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Movies","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694527197000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1694527197000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":0,"unique":false,"variable":"regions"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1694527197000,"icon":"event_note","id":"a42293c7633ac02dbd7462a98deebee8","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694527204000,"indexed":false,"listed":false,"modDate":1694527204000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694527204000,"indexed":false,"listed":false,"modDate":1694527204000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1694527197000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1694527197000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":2,"unique":false,"variable":"regions"}]}]}],"modDate":1694527197000,"multilingualable":false,"name":"Movie","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Movie","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 30ddacaa-0c74-4d3d-8f2f-31ca4e107bc5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet": {
"languageId": 1,
"title": "Africa",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=8BFB00B82F35F06C6B95234C3D20C03F; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 14:00:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"d93799e464888ad77e358ac825e1c9e3","inode":"20cf114a-4f81-4d2b-9c50-3d21d343a439","languageId":1,"live":true,"locked":false,"modDate":1694527206707,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527206707,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Africa","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.20cf114a-4f81-4d2b-9c50-3d21d343a439","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 53d671fe-b194-4c7d-a1be-1849a94140af |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet": {
"languageId": 1,
"title": "Asia",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=04E43818743EC7ED2B8BA4A3484C26BA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 14:00:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"fa3e613e8b7d47d9924aee196780682d","inode":"9b80c256-a705-4219-b8ec-7fc3fcf56892","languageId":1,"live":true,"locked":false,"modDate":1694527217827,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527217827,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Asia","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9b80c256-a705-4219-b8ec-7fc3fcf56892","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dba6f086-b39e-4ac7-b6a8-d9c7d213a0de |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 85 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"contentlet": {
"languageId": 1,
"contentType": "Movie"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=36917C5F09B2672E0DCA77CCFBD4D467; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 14:00:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"baf9845568b794d4cf97263da025d079","inode":"ba10ba45-dc80-4948-8dc2-bb8ef2d569a0","languageId":1,"live":true,"locked":false,"modDate":1694527228901,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527228901,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"baf9845568b794d4cf97263da025d079","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ba10ba45-dc80-4948-8dc2-bb8ef2d569a0","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a4720a4d-4a83-4810-8559-5e4e9d8b0ba9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 79 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{"contentlet": {
"regions":"+contentType:Region +Region.title:*Asia*"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=4AD58CAF634CA7E09552CC0CA71F3660; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 14:00:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"baf9845568b794d4cf97263da025d079","inode":"1b8692a2-9f04-4c60-bb78-b65cae191cf0","languageId":1,"live":true,"locked":true,"modDate":1694527240149,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1694527240149,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"baf9845568b794d4cf97263da025d079","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ba10ba45-dc80-4948-8dc2-bb8ef2d569a0","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.29.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fe4f8cfe-dd18-42d5-a0d2-145f3110efb6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 140 |
| Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk0NTI2NzA2MTg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTQ1MjY3MDksImlzcyI6ImIwMTA2NmQzMWYiLCJleHAiOjE2OTQ2MTMxMDl9.fADvBMMRBTx9dUvQNBJEG6C4MQicHtEJZZQ-vaCEJB0 |
{
"query": "+contentType:Movie +identifier:baf9845568b794d4cf97263da025d079",
"sort": "modDate desc",
"limit": 20,
"offset": 0,
"depth": 1
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 5baecb8e4dce|4add6e8317 |
| Set-Cookie | JSESSIONID=C37D094EC46E560FFCD238E6956B5A62; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Tue, 12 Sep 2023 14:00:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":41,"jsonObjectView":{"contentlets":[{"hostName":"System Host","modDate":"2023-09-12 14:00:40.149","publishDate":"2023-09-12 14:00:40.149","title":"baf9845568b794d4cf97263da025d079","baseType":"CONTENT","inode":"1b8692a2-9f04-4c60-bb78-b65cae191cf0","archived":false,"host":"SYSTEM_HOST","working":true,"locked":true,"stInode":"a42293c7633ac02dbd7462a98deebee8","contentType":"Movie","live":true,"owner":"dotcms.org.1","identifier":"baf9845568b794d4cf97263da025d079","languageId":1,"url":"/content.ba10ba45-dc80-4948-8dc2-bb8ef2d569a0","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note","regions":[{"hostName":"System Host","modDate":"2023-09-12 14:00:17.827","publishDate":"2023-09-12 14:00:17.827","title":"Asia","baseType":"CONTENT","inode":"9b80c256-a705-4219-b8ec-7fc3fcf56892","archived":false,"host":"SYSTEM_HOST","working":true,"locked":false,"stInode":"cec7ff58001803af652a64b505f84dd7","contentType":"Region","live":true,"owner":"dotcms.org.1","identifier":"fa3e613e8b7d47d9924aee196780682d","languageId":1,"url":"/content.9b80c256-a705-4219-b8ec-7fc3fcf56892","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]}]},"queryTook":7,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Check relationships | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|